Browse Source

Remove layer height from custom profiles in dropdown as it might have changed - CURA-4482

ChrisTerBeke 7 years ago
parent
commit
e7f1900f71
2 changed files with 1 additions and 4 deletions
  1. 0 3
      cura/Settings/MachineManager.py
  2. 1 1
      resources/qml/Menus/ProfileMenu.qml

+ 0 - 3
cura/Settings/MachineManager.py

@@ -728,9 +728,6 @@ class MachineManager(QObject):
         new_value = self._active_container_stack.getProperty(key, "value")
         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
         for extruder_stack in extruder_stacks:
             if extruder_stack != self._active_container_stack and extruder_stack.getProperty(key, "value") != new_value:

+ 1 - 1
resources/qml/Menus/ProfileMenu.qml

@@ -41,7 +41,7 @@ Menu
 
         MenuItem
         {
-            text: model.name + " - " + model.layer_height
+            text: model.name
             checkable: true
             checked: Cura.MachineManager.activeQualityChangesId == model.id
             exclusiveGroup: group