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



commit e8932a3f67ae78e88bb23f191fc5bb0c3ecb66ca
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]