Skip to content

Commit

Permalink
Bring window to front when progress panel changes to "Install and res…
Browse files Browse the repository at this point in the history
…tart", it's essentially a new alert coming up.
  • Loading branch information
uliwitness committed Dec 4, 2009
1 parent c51bf73 commit 18df114
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SUUIBasedUpdateDriver.m
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ - (void)unarchiverDidFinish:(SUUnarchiver *)ua
[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];
}

Expand Down

0 comments on commit 18df114

Please sign in to comment.