mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Doesn't set toolbar item enabled when validating if the state isn't changing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38993 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6e13a48b13
commit
29a7f09e56
1 changed files with 2 additions and 1 deletions
|
@ -1463,7 +1463,8 @@ NSString *GSMovableToolbarItemPboardType = @"GSMovableToolbarItemPboardType";
|
|||
{
|
||||
enabled = [target validateUserInterfaceItem: self];
|
||||
}
|
||||
[self setEnabled: enabled];
|
||||
if ( [self isEnabled] != enabled )
|
||||
[self setEnabled: enabled];
|
||||
}
|
||||
|
||||
- (NSView *) view
|
||||
|
|
Loading…
Reference in a new issue