summaryrefslogtreecommitdiff
path: root/src/editorui/editormain.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/editorui/editormain.py2
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