Explorar o código

library: leave edit mode when switching to the sidebar (close #9704)

Felix Paul Kühne %!s(int64=11) %!d(string=hai) anos
pai
achega
cdbf40e2df
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      AspenProject/VLCPlaylistViewController.m

+ 3 - 0
AspenProject/VLCPlaylistViewController.m

@@ -459,6 +459,9 @@
 - (IBAction)leftButtonAction:(id)sender
 {
     [[(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController] toggleSidebar:![(VLCAppDelegate*)[UIApplication sharedApplication].delegate revealController].sidebarShowing duration:kGHRevealSidebarDefaultAnimationDuration];
+
+    if (self.isEditing)
+        [self setEditing:NO animated:YES];
 }
 
 - (IBAction)backToAllItems:(id)sender