From 0e63ef0b2e2f062e5214f841239c3a483d45562a Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Mon, 23 Jul 2012 15:09:41 -0500 Subject: Ctrl cliking a layer on a list selects all objects on that layer. Object selection is also green now, for improved visibility --- src/editorui/editormain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/editorui/editormain.py') 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 -- cgit v1.2.3