mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Merge branch 'master' of https://github.com/Ultimaker/Cura
This commit is contained in:
commit
00250acb10
2 changed files with 10 additions and 3 deletions
|
@ -135,8 +135,14 @@ class QualitySettingsModel(UM.Qt.ListModel.ListModel):
|
||||||
return
|
return
|
||||||
|
|
||||||
if quality_changes_container:
|
if quality_changes_container:
|
||||||
criteria = {"type": "quality_changes", "quality": quality_type, "extruder": self._extruder_id, "definition": definition_id }
|
criteria = {"type": "quality_changes", "quality": quality_type, "definition": definition_id, "name": quality_changes_container.getName()}
|
||||||
|
if self._extruder_id != "":
|
||||||
|
criteria["extruder"] = self._extruder_id
|
||||||
|
else:
|
||||||
|
criteria["extruder"] = None
|
||||||
|
|
||||||
changes = UM.Settings.ContainerRegistry.getInstance().findInstanceContainers(**criteria)
|
changes = UM.Settings.ContainerRegistry.getInstance().findInstanceContainers(**criteria)
|
||||||
|
|
||||||
if changes:
|
if changes:
|
||||||
containers.extend(changes)
|
containers.extend(changes)
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,8 @@ Tab
|
||||||
TableViewColumn
|
TableViewColumn
|
||||||
{
|
{
|
||||||
role: "user_value"
|
role: "user_value"
|
||||||
title: catalog.i18nc("@title:column", "Current"); visible: quality == Cura.MachineManager.activeQualityId
|
title: catalog.i18nc("@title:column", "Current");
|
||||||
|
visible: quality == Cura.MachineManager.activeQualityId
|
||||||
width: parent.width * 0.18
|
width: parent.width * 0.18
|
||||||
}
|
}
|
||||||
TableViewColumn
|
TableViewColumn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue