summaryrefslogtreecommitdiff
path: root/src/editorui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/editorui/editormain.py2
-rw-r--r--src/editorui/objects.py2
2 files changed, 2 insertions, 2 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
diff --git a/src/editorui/objects.py b/src/editorui/objects.py
index 872e289..af5c664 100644
--- a/src/editorui/objects.py
+++ b/src/editorui/objects.py
@@ -18,7 +18,7 @@ class KPEditorObject(KPEditorItem):
self.resizing = None
if not hasattr(KPEditorObject, 'SELECTION_PEN'):
- KPEditorObject.SELECTION_PEN = QtGui.QPen(Qt.white, 1, Qt.DotLine)
+ KPEditorObject.SELECTION_PEN = QtGui.QPen(Qt.green, 1, Qt.DotLine)
# I don't bother setting the ZValue because it doesn't quite matter:
# only one layer's objects are ever clickable, and drawBackground takes