mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Inherit from class, not module
This is an import fail on my part, sorry. Contributes to issues CURA-1278 and CURA-351.
This commit is contained in:
parent
1ae69b25fa
commit
64ef5ab3a4
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import UM.Qt.ListModel
|
|||
#
|
||||
# This model is designed for use by any list of extruders, but specifically
|
||||
# intended for drop-down lists of extruders in place of settings.
|
||||
class ExtrudersModel(UM.Qt.ListModel):
|
||||
class ExtrudersModel(UM.Qt.ListModel.ListModel):
|
||||
## Human-readable name of the extruder.
|
||||
NameRole = Qt.UserRole + 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue