mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Remove redundant calls to close method.
This commit is contained in:
parent
88e318e5e8
commit
b42691c160
2 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
* Source/NSAlert.m (NSBeginAlertSheet): Restore call to delegate
|
||||
method which was lost a while ago.
|
||||
* Source/NSAlert.m (NSBeginCriticalAlertSheet,
|
||||
NSBeginInformationalAlertSheet): Remove redundant calls to close
|
||||
method.
|
||||
|
||||
2020-03-26 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
|
|
|
@ -1716,7 +1716,6 @@ void NSBeginCriticalAlertSheet(NSString *title,
|
|||
modalDelegate: modalDelegate
|
||||
didEndSelector: willEndSelector
|
||||
contextInfo: contextInfo];
|
||||
[panel close];
|
||||
if (modalDelegate && [modalDelegate respondsToSelector: didEndSelector])
|
||||
{
|
||||
void (*didEnd)(id, SEL, id, NSInteger, void*);
|
||||
|
@ -1757,7 +1756,6 @@ void NSBeginInformationalAlertSheet(NSString *title,
|
|||
modalDelegate: modalDelegate
|
||||
didEndSelector: willEndSelector
|
||||
contextInfo: contextInfo];
|
||||
[panel close];
|
||||
if (modalDelegate && [modalDelegate respondsToSelector: didEndSelector])
|
||||
{
|
||||
void (*didEnd)(id, SEL, id, NSInteger, void*);
|
||||
|
|
Loading…
Reference in a new issue