Change updateInProgress to canCheckForUpdates

This more accurately reflects its intended purpose. From the beginning,
the user cannot check for updates until the updater is ready;
however this doesn't mean that the update is in progress.
This commit is contained in:
Zorg committed 2016-04-09 11:39:02 -04:00
1 parent 933504263a
commit 1bb301e82a
10 files changed
+26 -26

No files matched your search

@@ -153,7 +153,7 @@
- (BOOL)validateMenuItem:(NSMenuItem *)menuItem
{
if (menuItem.action == @selector(checkForUpdates:)) {
return (self.userDriver != nil && !self.userDriver.updateInProgress);
return (self.userDriver != nil && self.userDriver.canCheckForUpdates);
} else if (menuItem.action == @selector(invalidateConnection:)) {
return (self.connection != nil);
}