mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:37:39 +00:00
Close sheet before removing from parent.
* Source/NSAlert.m (NSBeginAlertSheet): Move closing the sheet from here... * Source/NSApplication.m (-beginSheet:...:contextInfo:): ...to here.
This commit is contained in:
parent
b17b443266
commit
712e7a4e15
3 changed files with 7 additions and 9 deletions
|
@ -2032,6 +2032,7 @@ See -runModalForWindow:
|
|||
didEnd(modalDelegate, didEndSelector, sheet, ret, contextInfo);
|
||||
}
|
||||
|
||||
[sheet close];
|
||||
[docWindow setAttachedSheet: nil];
|
||||
[sheet setParentWindow: nil];
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue