Browse Source

open network stream: don't switch menu prior to opening streams

Felix Paul Kühne 11 years ago
parent
commit
55c2cdfa04
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Sources/VLCOpenNetworkStreamViewController.m

+ 1 - 3
Sources/VLCOpenNetworkStreamViewController.m

@@ -178,9 +178,7 @@
 #pragma mark - internals
 - (void)_openURLStringAndDismiss:(NSString *)url
 {
-    VLCAppDelegate* appDelegate = [UIApplication sharedApplication].delegate;
-    [appDelegate.menuViewController selectRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] animated:NO scrollPosition:UITableViewScrollPositionNone];
-    [appDelegate openMovieFromURL:[NSURL URLWithString:url]];
+    [(VLCAppDelegate*)[UIApplication sharedApplication].delegate openMovieFromURL:[NSURL URLWithString:url]];
 }
 
 #pragma mark - text view delegate