Browse Source

Fix selecting heated bed for UMO

This was broken by the type hinting refactors.

Contributes to issue CURA-3405.
Ghostkeeper 8 years ago
parent
commit
9ea7681ba0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/UltimakerMachineActions/UMOUpgradeSelection.py

+ 1 - 1
plugins/UltimakerMachineActions/UMOUpgradeSelection.py

@@ -45,7 +45,7 @@ class UMOUpgradeSelection(MachineAction):
 
     def _createDefinitionChangesContainer(self, global_container_stack):
         # Create a definition_changes container to store the settings in and add it to the stack
-        definition_changes_container = UM.Settings.InstanceContainer(global_container_stack.getName() + "_settings")
+        definition_changes_container = UM.Settings.InstanceContainer.InstanceContainer(global_container_stack.getName() + "_settings")
         definition = global_container_stack.getBottom()
         definition_changes_container.setDefinition(definition)
         definition_changes_container.addMetaDataEntry("type", "definition_changes")