mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Fix issue introduced by 'cleanup' merge where mainMenu no longer hides/unhides itself during/after testing the interface.
This commit is contained in:
parent
0284554411
commit
31e68f12e6
1 changed files with 5 additions and 1 deletions
|
@ -1682,7 +1682,9 @@ static void _real_close(GormDocument *self,
|
|||
[[self window] setExcludedFromWindowsMenu: YES];
|
||||
[[self window] orderOut: self];
|
||||
}
|
||||
|
||||
|
||||
[[NSApp mainMenu] close]; // close the menu during test...
|
||||
|
||||
enumerator = [nameTable objectEnumerator];
|
||||
while ((obj = [enumerator nextObject]) != nil)
|
||||
{
|
||||
|
@ -1712,6 +1714,8 @@ static void _real_close(GormDocument *self,
|
|||
NSEnumerator *enumerator;
|
||||
id obj;
|
||||
|
||||
[[NSApp mainMenu] display]; // bring the menu back...
|
||||
|
||||
enumerator = [hidden objectEnumerator];
|
||||
while ((obj = [enumerator nextObject]) != nil)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue