⛏️ index : haiku.git

author nipos <ni.pos@yandex.com> 2025-10-27 19:22:17.0 +01:00:00
committer waddlesplash <waddlesplash@gmail.com> 2025-10-29 17:58:01.0 +00:00:00
commit
28e386faaa22705f91f5cb236d616ff8ecc61753 [patch]
tree
ad8a14558841a1f1d865afafff6b8b2452bb2e53
parent
7fc80d5509fe0c050f599ef9e271bc2cbe1f1b6c
download
28e386faaa22705f91f5cb236d616ff8ecc61753.tar.gz

Installer: Don't replace Quit button with Begin when quitting DriveSetup after installation

Fixes #15677

Change-Id: I6c6783641ba79b70cad96916ca38f7bf58568241
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9746
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: John Scipione <jscipione@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>

Diff

 src/apps/installer/InstallerWindow.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/apps/installer/InstallerWindow.cpp b/src/apps/installer/InstallerWindow.cpp
index 7d19bc6..02711b5 100644
--- a/src/apps/installer/InstallerWindow.cpp
+++ b/src/apps/installer/InstallerWindow.cpp
@@ -746,7 +746,11 @@
	if (fSrcMenu->ItemAt(0) != NULL)
		_PublishPackages();

	_UpdateControls();
	// If the install is already finished, keep the button as is.
	if (fInstallStatus != kFinished)
		_UpdateControls();
	else
		PostMessage(MSG_INSTALL_FINISHED);
}