1342 @return always False |
1342 @return always False |
1343 @rtype bool |
1343 @rtype bool |
1344 """ |
1344 """ |
1345 if ( |
1345 if ( |
1346 event.type() == QEvent.Type.MouseButtonPress and |
1346 event.type() == QEvent.Type.MouseButtonPress and |
1347 not event.button() == Qt.MouseButton.RightButton |
1347 event.button() != Qt.MouseButton.RightButton |
1348 ): |
1348 ): |
1349 switched = True |
1349 switched = True |
1350 self.currentTabWidget.showIndicator(False) |
1350 self.currentTabWidget.showIndicator(False) |
1351 if isinstance(watched, E5TabWidget): |
1351 if isinstance(watched, E5TabWidget): |
1352 switched = watched is not self.currentTabWidget |
1352 switched = watched is not self.currentTabWidget |