mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 00:07:51 -06:00
Suggested changes
CURA-8849
This commit is contained in:
parent
142f1823b3
commit
6f8470167f
3 changed files with 3 additions and 4 deletions
|
@ -25,7 +25,7 @@ class IntentSelectionModel(ListModel):
|
|||
DescriptionRole = Qt.ItemDataRole.UserRole + 4
|
||||
IconRole = Qt.ItemDataRole.UserRole + 5
|
||||
|
||||
def __init__(self, parent=QAbstractListModel) -> None:
|
||||
def __init__(self, parent = None) -> None:
|
||||
super().__init__(parent)
|
||||
|
||||
self.addRoleName(self.NameRole, "name")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue