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



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