Browse Source

correctly cancel text fields when opening the menu (close #13169)

Felix Paul Kühne 10 years ago
parent
commit
8981534e66

+ 1 - 0
Sources/VLCDownloadViewController.m

@@ -105,6 +105,7 @@
 
 - (IBAction)goBack:(id)sender
 {
+    [self.view endEditing:YES];
     [[(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController] toggleSidebar:![(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController].sidebarShowing duration:kGHRevealSidebarDefaultAnimationDuration];
 }
 

+ 1 - 0
Sources/VLCOpenNetworkStreamViewController.m

@@ -140,6 +140,7 @@
 
 - (IBAction)goBack:(id)sender
 {
+    [self.view endEditing:YES];
     [[(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController] toggleSidebar:![(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController].sidebarShowing duration:kGHRevealSidebarDefaultAnimationDuration];
 }