mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 14:10:44 +00:00
Fixed bug #13872
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21507 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
534babbb2d
commit
fc6913b7ff
1 changed files with 9 additions and 2 deletions
|
@ -88,6 +88,7 @@
|
|||
|
||||
// look at the values passed back in the matrix.
|
||||
flag = ([[menuType cellAtRow: 0 column: 0] state] == NSOnState) ? YES : NO; // windows menu...
|
||||
|
||||
if(flag)
|
||||
{
|
||||
[doc setWindowsMenu: [self object]];
|
||||
|
@ -110,8 +111,14 @@
|
|||
flag = ([[menuType cellAtRow: 2 column: 0] state] == NSOnState) ? YES : NO; // normal menu...
|
||||
if(flag)
|
||||
{
|
||||
[doc setWindowsMenu: nil];
|
||||
[doc setServicesMenu: nil];
|
||||
if([doc windowsMenu] == [self object])
|
||||
{
|
||||
[doc setWindowsMenu: nil];
|
||||
}
|
||||
if([doc servicesMenu] == [self object])
|
||||
{
|
||||
[doc setServicesMenu: nil];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue