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
......@@ -92,8 +92,6 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
- (void)awakeFromNib
{
[self initStrings];
[self resetControls];
/* setup the toolbar */
o_sprefs_toolbar = [[[NSToolbar alloc] initWithIdentifier: VLCSPrefsToolbarIdentifier] autorelease];
......@@ -405,6 +403,8 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
[o_sprefs_toolbar setSelectedItemIdentifier: VLCIntfSettingToolbarIdentifier];
[self showInterfaceSettings];
}
[self resetControls];
[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