diff options
author | Treeki <treeki@gmail.com> | 2011-11-14 04:24:40 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-11-14 04:24:40 +0100 |
commit | 055e832da46a246bdea89c59ac9eb07d9f335d9b (patch) | |
tree | 2bc17b2ca1e7a6d8f014a4ab03c57d9199b6ee92 /src/tileset.py | |
parent | 386647ceb4508dcbc194b723e232627e3c0a2175 (diff) | |
download | koopatlas-055e832da46a246bdea89c59ac9eb07d9f335d9b.tar.gz koopatlas-055e832da46a246bdea89c59ac9eb07d9f335d9b.zip |
myriad updates to the object and layer selectors
Diffstat (limited to '')
-rw-r--r-- | src/tileset.py | 6 |
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): |