Plugins/ViewManagerPlugins/Listspace/Listspace.py

branch
5_5_x
changeset 3894
5cbd92ad2dc0
parent 3621
15f23ed3f216
--- a/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Wed Oct 29 13:45:05 2014 +0100
+++ b/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Thu Oct 30 19:05:40 2014 +0100
@@ -778,6 +778,7 @@
         """
         if event.type() == QEvent.MouseButtonPress and \
            not event.button() == Qt.RightButton:
+            switched = True
             if isinstance(watched, QStackedWidget):
                 switched = watched is not self.currentStack
                 self.currentStack = watched

eric ide

mercurial