diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-23 12:28:50 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-23 12:28:50 -0500 |
commit | e3bbfbabe74bb525adcf16b784338c4cf4e7507c (patch) | |
tree | 0cc5c2e0925cca094e48d031e502e7ad321aa41a /src/editorui/objects.py | |
parent | b12d27291609d79abe2e0e0817acdf5a1c3e2acb (diff) | |
download | koopatlas-e3bbfbabe74bb525adcf16b784338c4cf4e7507c.tar.gz koopatlas-e3bbfbabe74bb525adcf16b784338c4cf4e7507c.zip |
Reverted multi-layer selection changes to only the selected layer and path layers
Diffstat (limited to 'src/editorui/objects.py')
-rw-r--r-- | src/editorui/objects.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/editorui/objects.py b/src/editorui/objects.py index 71566a6..872e289 100644 --- a/src/editorui/objects.py +++ b/src/editorui/objects.py @@ -51,9 +51,9 @@ class KPEditorObject(KPEditorItem): def hoverMoveEvent(self, event): - # if self._layerRef() != KP.mapScene.currentLayer: - # self.setCursor(Qt.ArrowCursor) - # return + if self._layerRef() != KP.mapScene.currentLayer: + self.setCursor(Qt.ArrowCursor) + return pos = event.pos() bit = self.resizerPortionAt(pos.x(), pos.y()) @@ -75,8 +75,8 @@ class KPEditorObject(KPEditorItem): pos = event.pos() bit = self.resizerPortionAt(pos.x(), pos.y()) - # if self._layerRef() == KP.mapScene.currentLayer and bit: - if bit: + if self._layerRef() == KP.mapScene.currentLayer and bit: + # if bit: event.accept() x, xSide, y, ySide = False, None, False, None |