diff options
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): |