summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-09-21 03:52:31 +0000
committerdynaflash <[email protected]>2008-09-21 03:52:31 +0000
commit6cd5027aaa8bef98849db687f39d11ae2cf63869 (patch)
tree6f00e88b972b6cce811f782c0f35a6f01c468863
parentb12b4e51bfe4157707600f5cfaf660122d4ea766 (diff)
MacGui: upon launch, if pending items are still in the queue, if you choose to reload them, you are not presented with the browse source window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1738 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/Controller.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 82f86701f..2dd945002 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -141,10 +141,11 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
if (returnCode == NSAlertOtherReturn)
{
[self clearQueueAllItems];
+ [self performSelectorOnMainThread:@selector(browseSources:)
+ withObject:nil waitUntilDone:NO];
}
- [self performSelectorOnMainThread:@selector(browseSources:)
- withObject:nil waitUntilDone:NO];
+
}
- (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *) app