- patch by KonaB1end ... Thanks!
- Fixes issue where minimized main window would not unminiaturize when the dock icon is clicked.
- Fixes same issue with a closed main window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3480
b64f7644-9d1e-0410-96f1-
a4d463321fa5
- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag
{
if( !flag ) {
- [fWindow makeKeyAndOrderFront:nil];
-
- return YES;
+ [fWindow makeKeyAndOrderFront:nil];
}
-
- return NO;
+ return YES;
}
- (NSSize) drawerWillResizeContents:(NSDrawer *) drawer toSize:(NSSize) contentSize {