mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
move call to validateUserInterfaceAction:
This commit is contained in:
parent
4d90930d64
commit
889a1eb13b
1 changed files with 5 additions and 11 deletions
|
@ -115,23 +115,17 @@
|
|||
// Validating and performing
|
||||
- (void) performTextFinderAction: (id)sender
|
||||
{
|
||||
BOOL valid = [self validateUserInterfaceAction: sender];
|
||||
if (valid)
|
||||
if (_finder == nil)
|
||||
{
|
||||
if (_finder == nil)
|
||||
{
|
||||
_finder = [[GSTextFinder alloc] init];
|
||||
}
|
||||
_finder = [[GSTextFinder alloc] init];
|
||||
}
|
||||
[self validateUserInterfaceAction: sender];
|
||||
}
|
||||
|
||||
- (void) performFindPanelAction: (id)sender
|
||||
{
|
||||
BOOL valid = [self validateUserInterfaceAction: sender];
|
||||
if (valid)
|
||||
{
|
||||
[self performAction: [sender tag]];
|
||||
}
|
||||
[self performAction: [sender tag]];
|
||||
[self validateUserInterfaceAction: sender];
|
||||
}
|
||||
|
||||
- (void) performAction: (NSTextFinderAction)op
|
||||
|
|
Loading…
Reference in a new issue