mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-09 01:29:01 +08: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
@ -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…
x
Reference in New Issue
Block a user