summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreferencesController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-18 06:15:59 +0000
committerritsuka <[email protected]>2014-08-18 06:15:59 +0000
commit91e1ce781fdca4a130a842e5843462550977f802 (patch)
treec5e3c052a03e74ee2e3845b067e7806b4f944670 /macosx/HBPreferencesController.m
parent4c859fbdbadb78cc822f6a5437444e3615d95e2d (diff)
MacGui: initialize the languages list before the window in the prefsController, so the popup in the audio tab will show the actual languages list.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6305 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreferencesController.m')
-rw-r--r--macosx/HBPreferencesController.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m
index ede4ca44b..d3d016f58 100644
--- a/macosx/HBPreferencesController.m
+++ b/macosx/HBPreferencesController.m
@@ -88,9 +88,8 @@
{
if (self = [super initWithWindowNibName:@"Preferences"])
{
- NSAssert([self window], @"[HBPreferencesController init] window outlet is not connected in Preferences.nib");
_languages = [[HBLanguagesSelection alloc] init];
-
+ NSAssert([self window], @"[HBPreferencesController init] window outlet is not connected in Preferences.nib");
}
return self;
}