summaryrefslogtreecommitdiff
path: root/src/editorui/editormain.py
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-07-23 15:09:41 -0500
committerColin Noga <Tempus@chronometry.ca>2012-07-23 15:09:41 -0500
commit0e63ef0b2e2f062e5214f841239c3a483d45562a (patch)
tree513b2c779badbe917bb7f868bda2a016ad0e965d /src/editorui/editormain.py
parentf630d7b9258539e4a6453f7f05d95bc360f82e0a (diff)
downloadkoopatlas-0e63ef0b2e2f062e5214f841239c3a483d45562a.tar.gz
koopatlas-0e63ef0b2e2f062e5214f841239c3a483d45562a.zip
Ctrl cliking a layer on a list selects all objects on that layer. Object selection is also green now, for improved visibility
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