mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 12:52:21 +00:00
Fixed validation issue that did occur because of #110 for ToolBarItems.
**Introduced** regression bug in windows on launch.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
id target = [NSApp targetForAction:[self action] to:nil from:self];
|
||||
BOOL isValid = (nil != target);
|
||||
id validateTarget = [NSApp targetForAction:@selector(validateToolbarItem:) to:nil from:self];
|
||||
//NSLog(@"Validation for ToolbarItem:%@", [validateTarget class]);
|
||||
if(validateTarget) {
|
||||
isValid &= [validateTarget validateToolbarItem:self];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user