mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 13:50:57 +00:00
Fix slip of the keyboard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16153 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
aff8b096b9
commit
d192b06fc5
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ static NSNotificationCenter *nc;
|
||||||
menuLocations = [[defaults objectForKey: NSMenuLocationsKey] mutableCopy];
|
menuLocations = [[defaults objectForKey: NSMenuLocationsKey] mutableCopy];
|
||||||
|
|
||||||
if ([_aWindow isVisible]
|
if ([_aWindow isVisible]
|
||||||
&& ([self isTornOff] || ([NSApp mainWindow] == self)))
|
&& ([self isTornOff] || ([NSApp mainMenu] == self)))
|
||||||
{
|
{
|
||||||
if (menuLocations == nil)
|
if (menuLocations == nil)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue