Browse files

I don't feel like I should have to do this, but the notification to u…

…pdate the UI is being thrown when you open a file via the menu or add button.
  • Loading branch information...
1 parent d309e87 commit d28b0fd0c8e45eb115b10a3521b4a6351f590055 @bryanveloso committed Mar 29, 2012
Showing with 3 additions and 0 deletions.
  1. +2 −0 Classes/Controllers/ApplicationController.m
  2. +1 −0 Classes/Controllers/PlayerViewController.m
View
2 Classes/Controllers/ApplicationController.m
@@ -86,6 +86,8 @@ - (IBAction)openFile:(id)sender
NSLog(@"Could not load track.");
return;
}
+ [[ApplicationController sharedInstance].windowController showPlayerView];
+ [[ApplicationController sharedInstance].playbackController openURL:filePath];
}
};
View
1 Classes/Controllers/PlayerViewController.m
@@ -168,6 +168,7 @@ - (void)trackWasLoaded:(NSNotification *)notification
[self layoutInitialInterface:[object track]];
WindowController *windowController = [ApplicationController sharedInstance].windowController;
+ [windowController showPlayerView];
[windowController.play setEnabled:TRUE];
}
}

0 comments on commit d28b0fd

Please sign in to comment.