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:
Ghostkeeper 2016-06-02 14:58:11 +02:00
parent 1ae69b25fa
commit 64ef5ab3a4
No known key found for this signature in database
GPG Key ID: 701948C5954A7385

View File

@ -10,7 +10,7 @@ import UM.Qt.ListModel
# #
# This model is designed for use by any list of extruders, but specifically # This model is designed for use by any list of extruders, but specifically
# intended for drop-down lists of extruders in place of settings. # 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. ## Human-readable name of the extruder.
NameRole = Qt.UserRole + 1 NameRole = Qt.UserRole + 1