Bring window to front when progress panel changes to "Install and restart", it's essentially a new alert coming up.

This commit is contained in:
Uli Kusterer committed 2009-12-04 08:52:42 +01:00
1 parent c51bf739cf
commit 18df114b70
1 file changed
+1
+1
View File
@@ -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];
}