mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
* Source/NSWindowController.m (-initWithWindow:): Set the owner to
self and only call setDocument: if we have an actual window. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34825 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b579efa85d
commit
3d73efb55c
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSWindowController.m (-initWithWindow:): Set the owner to
|
||||
self and only call setDocument: if we have an actual window.
|
||||
|
||||
2012-02-24 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSImageRep.h: Add comment clarifying that -draw
|
||||
|
|
|
@ -110,14 +110,15 @@
|
|||
ASSIGN(_window_frame_autosave_name, @"");
|
||||
_wcFlags.should_cascade = YES;
|
||||
//_wcFlags.should_close_document = NO;
|
||||
_owner = self;
|
||||
|
||||
[self setWindow: window];
|
||||
if (_window != nil)
|
||||
{
|
||||
[self _windowDidLoad];
|
||||
[self setDocument: nil];
|
||||
}
|
||||
|
||||
[self setDocument: nil];
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue