mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
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:
1 parent
c51bf739cf
commit
18df114b70
1 file changed
+1
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user