eric6/E5Gui/E5MapWidget.py

changeset 7252
c5e3705073eb
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/E5Gui/E5MapWidget.py	Sat Sep 21 13:37:58 2019 +0200
+++ b/eric6/E5Gui/E5MapWidget.py	Sat Sep 21 15:37:43 2019 +0200
@@ -249,9 +249,11 @@
         @param event reference to the wheel event (QWheelEvent)
         """
         isVertical = event.angleDelta().x() == 0
-        if self._master and \
-            event.modifiers() == Qt.NoModifier and \
-                isVertical:
+        if (
+            self._master and
+            event.modifiers() == Qt.NoModifier and
+            isVertical
+        ):
             QCoreApplication.sendEvent(self._master.verticalScrollBar(), event)
     
     def calculateGeometry(self):

eric ide

mercurial