mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Remove layer height from custom profiles in dropdown as it might have changed - CURA-4482
This commit is contained in:
parent
569047693e
commit
e7f1900f71
2 changed files with 1 additions and 4 deletions
|
@ -728,9 +728,6 @@ class MachineManager(QObject):
|
||||||
new_value = self._active_container_stack.getProperty(key, "value")
|
new_value = self._active_container_stack.getProperty(key, "value")
|
||||||
extruder_stacks = [stack for stack in ExtruderManager.getInstance().getMachineExtruders(self._global_container_stack.getId())]
|
extruder_stacks = [stack for stack in ExtruderManager.getInstance().getMachineExtruders(self._global_container_stack.getId())]
|
||||||
|
|
||||||
# TODO: remove this - CURA-4482
|
|
||||||
extruder_stacks.append(self._global_container_stack)
|
|
||||||
|
|
||||||
# check in which stack the value has to be replaced
|
# check in which stack the value has to be replaced
|
||||||
for extruder_stack in extruder_stacks:
|
for extruder_stack in extruder_stacks:
|
||||||
if extruder_stack != self._active_container_stack and extruder_stack.getProperty(key, "value") != new_value:
|
if extruder_stack != self._active_container_stack and extruder_stack.getProperty(key, "value") != new_value:
|
||||||
|
|
|
@ -41,7 +41,7 @@ Menu
|
||||||
|
|
||||||
MenuItem
|
MenuItem
|
||||||
{
|
{
|
||||||
text: model.name + " - " + model.layer_height
|
text: model.name
|
||||||
checkable: true
|
checkable: true
|
||||||
checked: Cura.MachineManager.activeQualityChangesId == model.id
|
checked: Cura.MachineManager.activeQualityChangesId == model.id
|
||||||
exclusiveGroup: group
|
exclusiveGroup: group
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue