mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:10:36 +00:00
Some unrelated bug fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18672 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ad78c17b37
commit
fca54ecd29
5 changed files with 24 additions and 6 deletions
|
@ -783,7 +783,14 @@ static NSNotificationCenter *nc;
|
|||
|
||||
if (validator == nil)
|
||||
{
|
||||
shouldBeEnabled = NO;
|
||||
if ((action == NULL) && (_popUpButtonCell != nil))
|
||||
{
|
||||
shouldBeEnabled = YES;
|
||||
}
|
||||
else
|
||||
{
|
||||
shouldBeEnabled = NO;
|
||||
}
|
||||
}
|
||||
else if ([validator
|
||||
respondsToSelector: @selector(validateMenuItem:)])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue