summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
authorritsuka <[email protected]>2007-09-12 14:41:00 +0000
committerritsuka <[email protected]>2007-09-12 14:41:00 +0000
commit0c63e2738ce48befceab838f05213ceb1ccbe060 (patch)
tree8ffb3a3674400cddd35634d893938eff5a5144bd /macosx/Controller.mm
parentc10e3165be648676ce66fa2f2d5a39c38b46be22 (diff)
MacGui: Fix the target size crash for real, and autovalidate the open source toolbar item.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@957 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r--macosx/Controller.mm6
1 files changed, 1 insertions, 5 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index b439348dd..2993a3a72 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -423,7 +423,6 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
[item setImage: [NSImage imageNamed: @"Disc"]];
[item setTarget: self];
[item setAction: @selector(showScanPanel:)];
- [item setAutovalidates: NO];
}
else
{
@@ -1000,11 +999,8 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
if this is the first successful scan since launch and whether
or not we should set all settings to the defaults */
- SuccessfulScan = 1;
currentSuccessfulScanCount++;
- [self enableUI: YES];
-
[toolbar validateVisibleItems];
[fSrcTitlePopUp removeAllItems];
@@ -1095,7 +1091,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
[self titlePopUpChanged: NULL];
-
+ SuccessfulScan = 1;
[self enableUI: YES];
/* we record the current source name here in case the next scan is unsuccessful,