From 18df114b707a5ec90048d8d64ce0f385668078b1 Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Fri, 4 Dec 2009 08:52:42 +0100 Subject: [PATCH] Bring window to front when progress panel changes to "Install and restart", it's essentially a new alert coming up. --- SUUIBasedUpdateDriver.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index 132797b9..b658808f 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -146,6 +146,7 @@ [statusController setProgressValue:1]; // Fill the bar. [statusController setButtonEnabled:YES]; [statusController setButtonTitle:SULocalizedString(@"Install and Relaunch", nil) target:self action:@selector(installAndRestart:) isDefault:YES]; + [[statusController window] makeKeyAndOrderFront: self]; [NSApp requestUserAttention:NSInformationalRequest]; }