Fixed the toolbar validation support side effects

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19411 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
qmathe 2004-05-28 23:49:16 +00:00
parent 77b497ee12
commit fd77800e9a
3 changed files with 158 additions and 70 deletions

View file

@ -552,10 +552,11 @@ static Class actionCellClass;
if (![self isEnabled])
return;
[super mouseDown: theEvent];
if (_ignoresMultiClick && ([theEvent clickCount] > 1))
return;
{
[super mouseDown: theEvent];
return;
}
if ([_cell isContinuous])
{