mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
fix minor glitch in NSWindow's performClose
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3174 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
779f1285f5
commit
5ae8cd4c80
1 changed files with 1 additions and 1 deletions
|
@ -922,7 +922,7 @@ NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
|
|||
|
||||
- (void)performClose:sender
|
||||
{
|
||||
if([self styleMask] & NSClosableWindowMask)
|
||||
if(!([self styleMask] & NSClosableWindowMask))
|
||||
{ // self must have a close
|
||||
NSBeep(); // button in order to be
|
||||
return; // closed
|
||||
|
|
Loading…
Reference in a new issue