eric6/E5Gui/E5TreeWidget.py

changeset 7252
c5e3705073eb
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/E5Gui/E5TreeWidget.py	Sat Sep 21 13:37:58 2019 +0200
+++ b/eric6/E5Gui/E5TreeWidget.py	Sat Sep 21 15:37:43 2019 +0200
@@ -247,8 +247,10 @@
         
         @param evt mouse press event (QMouseEvent)
         """
-        if evt.modifiers() == Qt.ControlModifier and \
-           evt.buttons() == Qt.LeftButton:
+        if (
+            evt.modifiers() == Qt.ControlModifier and
+            evt.buttons() == Qt.LeftButton
+        ):
             self.itemControlClicked.emit(self.itemAt(evt.pos()))
             return
         elif evt.buttons() == Qt.MidButton:

eric ide

mercurial