* Source/NSWindowController.m (-_windowWillClose:): Don't unset

the delegate and the controller of the window, this gets done in
        setWindow: a bit later.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39087 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2015-10-22 21:27:31 +00:00
parent f059d346a6
commit 106014c439
2 changed files with 6 additions and 8 deletions

View file

@ -1,3 +1,9 @@
2015-10-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindowController.m (-_windowWillClose:): Don't unset
the delegate and the controller of the window, this gets done in
setWindow: a bit later.
2015-10-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSegmentedCell.m (-drawSegment:inFrame:withView:):

View file

@ -268,14 +268,6 @@
if ([_window isReleasedWhenClosed])
{
RETAIN(self);
if ([_window delegate] == self)
{
[_window setDelegate: nil];
}
if ([_window windowController] == self)
{
[_window setWindowController: nil];
}
/*
* If the window is set to isReleasedWhenClosed, it will release