]> granicus.if.org Git - handbrake/commitdiff
MacGui: Disable presets drawer during rip to avoid crash
authordynaflash <dynaflashtech@gmail.com>
Tue, 6 Mar 2007 15:11:32 +0000 (15:11 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Tue, 6 Mar 2007 15:11:32 +0000 (15:11 +0000)
- Also, correct error from last checkin that caused main settings to stay enabled during rip, which caused a crash if you tried to access any of the controls.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.8.0_beta2_5.1@420 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm

index 5651f19656e25bddbdb203536dcb4eea9512456e..52431ce571138f364736cedef8a945cad1b5988c 100644 (file)
@@ -585,7 +585,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow
                fPicSettingDeinterlaceDsply,fPicLabelSettings,fPicLabelSrc,fPicLabelOutp,
                fPicLabelAr,fPicLabelDeinter,fPicLabelSrcX,fPicLabelOutputX,
                fPicLabelPAROutp,fPicLabelPAROutputX,fPicSettingPARWidth,fPicSettingPARHeight,
-               fPicSettingPARDsply,fPicLabelAnamorphic};
+               fPicSettingPARDsply,fPicLabelAnamorphic,tableView,fPresetsAdd,fPresetsDelete};
 
     for( unsigned i = 0;
          i < sizeof( controls ) / sizeof( NSControl * ); i++ )
@@ -964,7 +964,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow
     hb_start( fHandle );
 
     /* Disable interface */
-    //[self EnableUI: NO];
+   [self EnableUI: NO];
     [fPauseButton setEnabled: NO];
     [fRipButton   setEnabled: NO];
 }