Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeydelarago <joeydelarago@gmail.com>2022-08-31 11:20:50 +0300
committerjoeydelarago <joeydelarago@gmail.com>2022-08-31 11:20:50 +0300
commit9f204f2e43f8a546d417f173b12536cb5ac10f2f (patch)
tree0eccf550a6888bcddf7219d485dc4d3ef15e1347 /cura/Machines
parent760e53c401e7fc9af2536a5ccd1c41a7af4566a2 (diff)
Update isAbstractMachine to match Role name format.
CURA-9514
Diffstat (limited to 'cura/Machines')
-rw-r--r--cura/Machines/Models/MachineListModel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/Machines/Models/MachineListModel.py b/cura/Machines/Models/MachineListModel.py
index 82272ca39b..5f222c82e8 100644
--- a/cura/Machines/Models/MachineListModel.py
+++ b/cura/Machines/Models/MachineListModel.py
@@ -24,7 +24,7 @@ class MachineListModel(ListModel):
MetaDataRole = Qt.ItemDataRole.UserRole + 4
IsOnlineRole = Qt.ItemDataRole.UserRole + 5
MachineCountRole = Qt.ItemDataRole.UserRole + 6
- IsAbstractMachine = Qt.ItemDataRole.UserRole + 7
+ IsAbstractMachineRole = Qt.ItemDataRole.UserRole + 7
ListTypeRole = Qt.ItemDataRole.UserRole + 8
def __init__(self, parent=None) -> None:
@@ -40,7 +40,7 @@ class MachineListModel(ListModel):
self.addRoleName(self.MetaDataRole, "metadata")
self.addRoleName(self.IsOnlineRole, "isOnline")
self.addRoleName(self.MachineCountRole, "machineCount")
- self.addRoleName(self.IsAbstractMachine, "isAbstractMachine")
+ self.addRoleName(self.IsAbstractMachineRole, "isAbstractMachine")
self.addRoleName(self.ListTypeRole, "listType")
self._change_timer = QTimer()