[gnome-music/wip/mschraal/allow-selection-mode-search: 3/3] Revert "window: Fix disable selection-mode on search"



commit 5d7e824229cf0735682c17257981ec2198ffe24a
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Feb 18 00:14:15 2019 +0100

    Revert "window: Fix disable selection-mode on search"
    
    This reverts commit 8abbaaa485d0f3202fca749ac7638a56b0c2aa27.
    
    Allow starting a search in selection mode once again.

 gnomemusic/window.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index dd20b350..5f0cbd42 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -458,8 +458,8 @@ class Window(Gtk.ApplicationWindow):
                     and child != self.curr_view._artist_albums_widget):
                 self._stack.set_visible_child(self.views[View.ALBUM])
 
-        if self.props.selection_mode:
-            self.props.selection_mode = False
+            if self.props.selection_mode:
+                self.props.selection_mode = False
 
     @log
     def _switch_back_from_childview(self, klass=None):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]