diff options
Diffstat (limited to '')
-rw-r--r-- | src/editorui/editormain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py index c3d2aea..1ff08ee 100644 --- a/src/editorui/editormain.py +++ b/src/editorui/editormain.py @@ -746,7 +746,7 @@ class KPEditorWidget(QtGui.QGraphicsView): self._tryToPaint(event) event.accept() - elif event.modifiers() == Qt.ControlModifier: + elif event.modifiers() & Qt.ControlModifier: if isinstance(self.scene().currentLayer, KPPathLayer): QtGui.QGraphicsView.mousePressEvent(self, event) return |