Fixed an issue in the tab view and list view. 5_5_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 30 Oct 2014 19:05:40 +0100
branch
5_5_x
changeset 3894
5cbd92ad2dc0
parent 3892
729a1dcd7e91
child 3896
5915df11b95e

Fixed an issue in the tab view and list view.
(grafted from 52c53efa762792717fcf589942228cf25cfbd010)

Plugins/ViewManagerPlugins/Listspace/Listspace.py file | annotate | diff | comparison | revisions
Plugins/ViewManagerPlugins/Tabview/Tabview.py file | annotate | diff | comparison | revisions
--- 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
--- 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
@@ -1184,6 +1184,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