mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:20:38 +00:00
Add implementation for validateUserInterfaceAction:
This commit is contained in:
parent
a02336f84f
commit
4d90930d64
2 changed files with 15 additions and 0 deletions
|
@ -185,6 +185,13 @@
|
|||
|
||||
- (BOOL) validateUserInterfaceAction: (id<NSValidatedUserInterfaceItem>)item
|
||||
{
|
||||
SEL action = [item action];
|
||||
if (sel_isEqual(action, @selector(performTextFinderAction:)) ||
|
||||
sel_isEqual(action, @selector(performFindPanelAction:)))
|
||||
{
|
||||
return [self validateAction: [item tag]];
|
||||
}
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue