mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Use non-deprecated method to load nib (10.8)
We can pass `NULL` to `topLevelObjects` since we have a strong IBOutlet to the NSPanel (our top-level object).
This commit is contained in:
committed by
Allan Odgaard
parent
074f5c6069
commit
69b7b8ee42
@@ -725,7 +725,7 @@ private:
|
||||
- (IBAction)showTabSizeSelectorPanel:(id)sender
|
||||
{
|
||||
if(!tabSizeSelectorPanel)
|
||||
[NSBundle loadNibNamed:@"TabSizeSetting" owner:self];
|
||||
[[NSBundle bundleForClass:[self class]] loadNibNamed:@"TabSizeSetting" owner:self topLevelObjects:NULL];
|
||||
[tabSizeSelectorPanel makeKeyAndOrderFront:self];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user