diff options
Diffstat (limited to 'macosx/PcsxrPluginHandler.m')
| -rwxr-xr-x | macosx/PcsxrPluginHandler.m | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/PcsxrPluginHandler.m b/macosx/PcsxrPluginHandler.m index b10d47b3..2c80cf91 100755 --- a/macosx/PcsxrPluginHandler.m +++ b/macosx/PcsxrPluginHandler.m @@ -30,6 +30,11 @@ return self; } +- (NSString*)windowNibName +{ + return @"AddPluginSheet"; +} + - (id)init { self = [self initWithWindowNibName:@"AddPluginSheet"]; @@ -58,9 +63,6 @@ if ([EmuThread active]) { return NO; } - - if (![self window]) - [NSBundle loadNibNamed:@"AddPluginSheet" owner:self]; [pluginName setObjectValue:[theFile lastPathComponent]]; |
