mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Fixed bug #67 courtesy Chris Lawson.
This commit is contained in:
1 parent
602541866f
commit
5880c5f3ec
1 file changed
+3
-2
+3
-2
@@ -153,9 +153,9 @@
|
||||
if (verbosity)
|
||||
{
|
||||
NSBeep();
|
||||
if ([[statusController window] isVisible])
|
||||
if (statusController && [[statusController window] isVisible])
|
||||
[statusController showWindow:self];
|
||||
else if ([[updateAlert window] isVisible])
|
||||
else if (updateAlert && [[updateAlert window] isVisible])
|
||||
[updateAlert showWindow:self];
|
||||
else
|
||||
[self showUpdateErrorAlertWithInfo:SULocalizedString(@"An update is already in progress!", nil)];
|
||||
@@ -256,6 +256,7 @@
|
||||
- (void)updateAlert:(SUUpdateAlert *)alert finishedWithChoice:(SUUpdateAlertChoice)choice
|
||||
{
|
||||
[alert release];
|
||||
updateAlert = nil;
|
||||
switch (choice)
|
||||
{
|
||||
case SUInstallUpdateChoice:
|
||||
|
||||
Reference in new issue
Block a user