Fixed an issue in the tab view and list view.

Thu, 30 Oct 2014 19:05:40 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 30 Oct 2014 19:05:40 +0100
changeset 3893
52c53efa7627
parent 3891
f6ac4b481bdb
child 3895
05a919adc36b

Fixed an issue in the tab view and list view.

Plugins/ViewManagerPlugins/Listspace/Listspace.py file | annotate | diff | comparison | revisions
Plugins/ViewManagerPlugins/Tabview/Tabview.py file | annotate | diff | comparison | revisions
diff -r f6ac4b481bdb -r 52c53efa7627 Plugins/ViewManagerPlugins/Listspace/Listspace.py
--- 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
diff -r f6ac4b481bdb -r 52c53efa7627 Plugins/ViewManagerPlugins/Tabview/Tabview.py
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Wed Oct 29 13:45:05 2014 +0100
+++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Thu Oct 30 19:05:40 2014 +0100
@@ -1185,6 +1185,7 @@
         """
         if event.type() == QEvent.MouseButtonPress and \
            not event.button() == Qt.RightButton:
+            switched = True
             self.currentTabWidget.showIndicator(False)
             if isinstance(watched, E5TabWidget):
                 switched = watched is not self.currentTabWidget

eric ide

mercurial