mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 15:30:47 +00:00
Add beginnings of placeholder logic
This commit is contained in:
parent
1e565994cd
commit
fb2c219a8c
7 changed files with 142 additions and 13 deletions
|
@ -202,7 +202,6 @@
|
|||
if (should)
|
||||
{
|
||||
NSStoryboardSegue *segue = [_segueMap objectForKey: identifier];
|
||||
NSStoryboard *ms = [NSStoryboard mainStoryboard];
|
||||
id destCon = nil;
|
||||
if ([[segue destinationController] isKindOfClass: [NSViewController class]] ||
|
||||
[[segue destinationController] isKindOfClass: [NSWindowController class]])
|
||||
|
@ -212,7 +211,7 @@
|
|||
else
|
||||
{
|
||||
NSString *destId = [segue destinationController];
|
||||
destCon = [ms instantiateControllerWithIdentifier: destId];
|
||||
destCon = [_storyboard instantiateControllerWithIdentifier: destId];
|
||||
}
|
||||
[segue _setSourceController: self];
|
||||
[segue _setDestinationController: destCon]; // replace with actual controller...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue