summaryrefslogtreecommitdiff
path: root/src/tileset.py
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-11-14 04:24:40 +0100
committerTreeki <treeki@gmail.com>2011-11-14 04:24:40 +0100
commit055e832da46a246bdea89c59ac9eb07d9f335d9b (patch)
tree2bc17b2ca1e7a6d8f014a4ab03c57d9199b6ee92 /src/tileset.py
parent386647ceb4508dcbc194b723e232627e3c0a2175 (diff)
downloadkoopatlas-055e832da46a246bdea89c59ac9eb07d9f335d9b.tar.gz
koopatlas-055e832da46a246bdea89c59ac9eb07d9f335d9b.zip
myriad updates to the object and layer selectors
Diffstat (limited to '')
-rw-r--r--src/tileset.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tileset.py b/src/tileset.py
index 763c197..a68f733 100644
--- a/src/tileset.py
+++ b/src/tileset.py
@@ -199,11 +199,9 @@ class KPGroupModel(QtCore.QAbstractListModel):
item, depth = self.container.getItem(index.row())
if isinstance(item, KPGroupItem):
- return Qt.ItemFlags(32)
+ return Qt.NoItemFlags
else:
- return Qt.ItemFlags(33)
-
- return Qt.ItemFlags(33)
+ return Qt.ItemIsEnabled | Qt.ItemIsSelectable
def data(self, index, role=Qt.DisplayRole):