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:
FredKiefer 2004-02-25 23:27:46 +00:00
parent ad78c17b37
commit fca54ecd29
5 changed files with 24 additions and 6 deletions

View file

@ -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:)])