summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.mm
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r--macosx/PictureController.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index f8aec43ff..424e8e967 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -23,6 +23,7 @@ static int GetAlignedSize( int size )
if (self = [super init])
{
delegate = del;
+ [self loadMyNibFile];
}
return self;
}
@@ -400,8 +401,6 @@ static int GetAlignedSize( int size )
}
- (void) showPanelInWindow: (NSWindow *) fWindow forTitle:(hb_title_t *)title {
- [self loadMyNibFile];
-
NSSize newSize;
newSize.width = 246 + title->width;
newSize.height = 80 + title->height;