QModListModel: rename enabled to modEnabled

enabled seems to conflict with some builtin qml value
This commit is contained in:
Toast 2025-05-23 02:00:43 +02:00
parent 0850a23b35
commit 454c761a9d

View file

@ -32,7 +32,7 @@ class QModListModel(QAbstractListModel):
return {
0: b"name",
1: b"description",
2: b"enabled"
2: b"modEnabled"
}
def rowCount(self, parent=QModelIndex()) -> int: