mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
installer: Fix Bug #14594 / avoid UI reset
* Adds check for completed installation when exiting BootManager or DriveSetup. * If installation has completed, quit or restart buttons are maintained, along with appropriate guidance, rather than the UI reset described in bug Change-Id: I064ccecb77b1a0e4347e1e36564614383b1409d5 Reviewed-on: https://review.haiku-os.org/c/881 Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
This commit is contained in:
parent
a9f4ce4515
commit
de24087ae8
@ -563,11 +563,14 @@ InstallerWindow::MessageReceived(BMessage *msg)
|
||||
} else {
|
||||
// If neither DriveSetup nor Bootman is running, we need
|
||||
// to scan partitions in case DriveSetup has quit, or
|
||||
// we need to update the guidance message.
|
||||
// we need to update the guidance message, unless install
|
||||
// was already finished.
|
||||
if (scanPartitions)
|
||||
_ScanPartitions();
|
||||
else
|
||||
else if (fInstallStatus != kFinished)
|
||||
_UpdateControls();
|
||||
else
|
||||
PostMessage(MSG_INSTALL_FINISHED);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user