]> git.proxmox.com Git - pve-installer.git/commitdiff
tui: show background header on fatal setup error
authorChristoph Heiss <c.heiss@proxmox.com>
Thu, 24 Oct 2024 09:00:42 +0000 (11:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 30 Oct 2024 08:57:09 +0000 (09:57 +0100)
This was missing, as it was only applied for the main installation UI -
the setup error has its own screen setup codepath entirely.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
Tested-By: Aaron Lauterer <a.lauterer@proxmox.com>
proxmox-tui-installer/src/main.rs

index 3fb87a79806586eec61b42c26ab30ceb8cdb33ba..b1f11cbf65d07c465a4d44b1b6b37b567f3560d7 100644 (file)
@@ -219,6 +219,7 @@ fn installer_setup_late(siv: &mut Cursive) {
 }
 
 fn initial_setup_error(siv: &mut CursiveRunnable, message: &str) -> ! {
+    siv.add_fullscreen_layer(InstallerBackgroundView::new());
     siv.add_layer(
         Dialog::around(TextView::new(message))
             .title("Installer setup error")