mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Enable check for updates menu item if update driver is interruptible
This commit is contained in:
1 parent
eb810c7d8f
commit
fdf79bc3a6
1 file changed
+1
-1
Vendored
+1
-1
@@ -526,7 +526,7 @@ static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaults
|
||||
- (BOOL)validateMenuItem:(NSMenuItem *)item
|
||||
{
|
||||
if ([item action] == @selector(checkForUpdates:)) {
|
||||
return ![self updateInProgress];
|
||||
return ![self updateInProgress] || [self.driver isInterruptible];
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user