Skip to content

Commit

Permalink
open workflows more cleanly
Browse files Browse the repository at this point in the history
  • Loading branch information
itod committed Aug 6, 2010
1 parent b33228b commit c90fa12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Fluidium/src/FUPlugInController.m
Expand Up @@ -124,7 +124,8 @@ - (void)windowControllerDidOpen:(NSNotification *)n {

if ([[FUUserDefaults instance] showVisiblePlugInsInNewWindows]) {
// do it in the next run loop. avoids problem where NSWindows have a windowNumber of -1 until the next runloop
[self performSelector:@selector(showVisiblePlugInsInWindow:) withObject:win afterDelay:0];
//[self performSelector:@selector(showVisiblePlugInsInWindow:) withObject:win afterDelay:0];
[self showVisiblePlugInsInWindow:win];
}
}

Expand All @@ -138,7 +139,8 @@ - (void)showVisiblePlugInsInWindow:(NSWindow *)win {
}

FUWindowController *wc = [win windowController];
[[wc document] performSelector:@selector(windowControllerDidShowVisiblePlugIns:) withObject:wc afterDelay:0];
// [[wc document] performSelector:@selector(windowControllerDidShowVisiblePlugIns:) withObject:wc afterDelay:0];
[[wc document] windowControllerDidShowVisiblePlugIns:wc];
}


Expand Down

0 comments on commit c90fa12

Please sign in to comment.