OSDN Git Service

MacGui: upon launch, if pending items are still in the queue, if you choose to reload...
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 21 Sep 2008 03:52:31 +0000 (03:52 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 21 Sep 2008 03:52:31 +0000 (03:52 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1738 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm

index 82f8670..2dd9450 100644 (file)
@@ -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