Merge pull request #2172 from daboe01/Fixed--activateIgnoringOtherApps

Fixed: activateIgnoringOtherApps:shouldIgnoreOthe... missed call to _didBecomeActive
This commit is contained in:
Antoine Mercadal committed 2014-09-30 16:55:27 -07:00
commit 4bcbe577c6
1 file changed
+2 -2
+2 -2
View File
@@ -448,7 +448,7 @@ var CPMainCibFile = @"CPMainCibFile",
[CPPlatform activateIgnoringOtherApps:shouldIgnoreOtherApps];
_isActive = YES;
[self _willResignActive];
[self _didBecomeActive];
}
- (void)deactivate
@@ -1173,7 +1173,7 @@ var CPMainCibFile = @"CPMainCibFile",
[[self keyWindow] orderFront:self];
else if ([self mainWindow])
[[self mainWindow] makeKeyAndOrderFront:self];
else
else if ([self mainMenu])
[[self mainMenu]._menuWindow makeKeyWindow]; //FIXME this may not actually work
_previousKeyWindow = nil;