IconEditor/IconEditorWindow.py

changeset 5651
982465f8389c
parent 5631
d0beabfaad42
child 5736
000ea446ff4b
diff -r 4c52f07c186e -r 982465f8389c IconEditor/IconEditorWindow.py
--- a/IconEditor/IconEditorWindow.py	Wed Mar 22 18:45:15 2017 +0100
+++ b/IconEditor/IconEditorWindow.py	Wed Mar 22 18:50:20 2017 +0100
@@ -1389,6 +1389,7 @@
             if pinch.state() == Qt.GestureStarted:
                 pinch.setTotalScaleFactor(self.__editor.zoomFactor() / 100.0)
             elif pinch.state() == Qt.GestureUpdated:
-                self.__editor.setZoomFactor(int(pinch.totalScaleFactor() * 100))
+                self.__editor.setZoomFactor(
+                    int(pinch.totalScaleFactor() * 100))
                 self.__updateZoom()
             evt.accept()

eric ide

mercurial