mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Show true extrudernames in Simple Mode support extruder selection combobox
CURA-333
This commit is contained in:
parent
eba2451cf2
commit
92905ada34
2 changed files with 14 additions and 7 deletions
|
@ -85,6 +85,8 @@ class ExtrudersModel(UM.Qt.ListModel.ListModel):
|
|||
if container.getMetaDataEntry("type") == "material":
|
||||
self._updateExtruders()
|
||||
|
||||
modelChanged = pyqtSignal()
|
||||
|
||||
## Update the list of extruders.
|
||||
#
|
||||
# This should be called whenever the list of extruders changes.
|
||||
|
@ -127,3 +129,4 @@ class ExtrudersModel(UM.Qt.ListModel.ListModel):
|
|||
self.appendItem(item)
|
||||
|
||||
self.sort(lambda item: item["index"])
|
||||
self.modelChanged.emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue