mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
* 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:
parent
f059d346a6
commit
106014c439
2 changed files with 6 additions and 8 deletions
|
@ -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:):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue