tui: avoid actively focusing start-install button on summary

it's just safer to make the user look at the summary and avoid that a
stray enter hits of the installation.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-21 18:39:28 +02:00
parent 1d8fcd721a
commit fcb51d7391

View File

@ -664,7 +664,7 @@ fn summary_dialog(siv: &mut Cursive) -> InstallerView {
switch_to_next_screen(siv, InstallerStep::Install, &install_progress_dialog);
}));
let _ = bbar.set_focus_index(4); // ignore errors
let _ = bbar.set_focus_index(2); // ignore errors
let mut inner = LinearLayout::vertical()
.child(PaddedView::lrtb(