Commit d95df6f6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

don't reset the controls when awaking from nib, but when showing our window

parent 4d8b3700
...@@ -93,8 +93,6 @@ static VLCSimplePrefs *_o_sharedInstance = nil; ...@@ -93,8 +93,6 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
{ {
[self initStrings]; [self initStrings];
[self resetControls];
/* setup the toolbar */ /* setup the toolbar */
o_sprefs_toolbar = [[[NSToolbar alloc] initWithIdentifier: VLCSPrefsToolbarIdentifier] autorelease]; o_sprefs_toolbar = [[[NSToolbar alloc] initWithIdentifier: VLCSPrefsToolbarIdentifier] autorelease];
[o_sprefs_toolbar setAllowsUserCustomization: NO]; [o_sprefs_toolbar setAllowsUserCustomization: NO];
...@@ -406,6 +404,8 @@ static VLCSimplePrefs *_o_sharedInstance = nil; ...@@ -406,6 +404,8 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
[self showInterfaceSettings]; [self showInterfaceSettings];
} }
[self resetControls];
[o_sprefs_win makeKeyAndOrderFront: self]; [o_sprefs_win makeKeyAndOrderFront: self];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment