diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-05-21 01:41:02 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-05-21 01:41:02 -0500 |
commit | ba959d67836d483007c384f1a87fcfba12332295 (patch) | |
tree | 67ebe1f6259c5f82c4e1fdc45a9249d9d0bede76 /src/mapdata.py | |
parent | 197fca6d7d16fa849c6e8e214008108a26ac4c7c (diff) | |
download | koopatlas-ba959d67836d483007c384f1a87fcfba12332295.tar.gz koopatlas-ba959d67836d483007c384f1a87fcfba12332295.zip |
Added copying, proper top-dwn selection
Diffstat (limited to '')
-rw-r--r-- | src/mapdata.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mapdata.py b/src/mapdata.py index 4185a19..b4b5e4b 100644 --- a/src/mapdata.py +++ b/src/mapdata.py @@ -33,6 +33,8 @@ class KPLayer(object): pass def setActivated(self, value, listToUse=None): + return + flag1 = QtGui.QGraphicsItem.ItemIsSelectable flag2 = QtGui.QGraphicsItem.ItemIsMovable @@ -195,6 +197,8 @@ class KPPathTileLayer(KPLayer): item.setVisible(value) def setActivated(self, value, listToUse=None): + return + flag1 = QtGui.QGraphicsItem.ItemIsSelectable flag2 = QtGui.QGraphicsItem.ItemIsMovable @@ -527,6 +531,7 @@ class KPPathLayer(KPLayer): item.setVisible(value) def setActivated(self, value): + return KPLayer.setActivated(self, value, self.nodes) flag = QtGui.QGraphicsItem.ItemIsSelectable |