mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Detect subclasses in processConnections...
This commit is contained in:
parent
0c278cc74b
commit
e44276fba8
1 changed files with 2 additions and 2 deletions
|
@ -728,8 +728,8 @@
|
|||
atIndex: count - 1];
|
||||
|
||||
// add action to parent ONLY if it is NOT a controller..
|
||||
if (![segue_parent_parent_name isEqualToString: @"windowController"] &&
|
||||
![segue_parent_parent_name isEqualToString: @"viewController"])
|
||||
if (![[self subclassesOfClass: [NSWindowController class]] containsObject: segue_parent_parent_name] &&
|
||||
![[self subclassesOfClass: [NSViewController class]] containsObject: segue_parent_parent_name])
|
||||
{
|
||||
// Create action...
|
||||
NSXMLElement *action = [NSXMLElement elementWithName: @"action"];
|
||||
|
|
Loading…
Reference in a new issue