]> git.proxmox.com Git - pve-installer.git/commit
tui: preserve autoreboot checkbox state when switching views
authorChristoph Heiss <c.heiss@proxmox.com>
Tue, 21 Nov 2023 10:45:49 +0000 (11:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Nov 2023 12:11:50 +0000 (13:11 +0100)
commite9e6cfea3a5d5669a154359ab260fe26abfd384c
tree6adc7cbfb17f53053ecb22af07b359166661b1be
parent4d77586296eab627f7239420fc392f5f9d12007b
tui: preserve autoreboot checkbox state when switching views

Instead of reading the checkbox when continuing to the next screen, save
its toggle status to the installer state instead on change.

Reported-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-tui-installer/src/main.rs