Set document for auxiliary windows

This commit is contained in:
Matthias Neeracher 2012-05-19 23:38:57 +02:00
parent 2cf436a393
commit aeb8bfe233

View File

@ -88,6 +88,12 @@
return self; return self;
} }
- (void)awakeFromNib
{
[[self document] addWindowController:pdfWin];
[[self document] addWindowController:logWin];
}
- (void) dealloc - (void) dealloc
{ {
NSNotificationCenter * nc = [NSNotificationCenter defaultCenter]; NSNotificationCenter * nc = [NSNotificationCenter defaultCenter];