mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 08:47:50 -06:00
Remove semicolons
Semicolons, a relic of the past. Contributes to issue CURA-3497.
This commit is contained in:
parent
337be1b9be
commit
cd78ab850d
1 changed files with 3 additions and 3 deletions
|
@ -216,7 +216,7 @@ class MachineSettingsAction(MachineAction):
|
||||||
|
|
||||||
# Make sure the machine stack is active
|
# Make sure the machine stack is active
|
||||||
if extruder_manager.activeExtruderIndex > -1:
|
if extruder_manager.activeExtruderIndex > -1:
|
||||||
extruder_manager.setActiveExtruderIndex(-1);
|
extruder_manager.setActiveExtruderIndex(-1)
|
||||||
|
|
||||||
# Restore material and variant on global stack
|
# Restore material and variant on global stack
|
||||||
# MachineManager._onGlobalContainerChanged removes the global material and variant of multiextruder machines
|
# MachineManager._onGlobalContainerChanged removes the global material and variant of multiextruder machines
|
||||||
|
@ -228,9 +228,9 @@ class MachineSettingsAction(MachineAction):
|
||||||
preferences.setValue("cura/choice_on_profile_override", "always_keep")
|
preferences.setValue("cura/choice_on_profile_override", "always_keep")
|
||||||
|
|
||||||
if extruder_material_id:
|
if extruder_material_id:
|
||||||
machine_manager.setActiveMaterial(extruder_material_id);
|
machine_manager.setActiveMaterial(extruder_material_id)
|
||||||
if extruder_variant_id:
|
if extruder_variant_id:
|
||||||
machine_manager.setActiveVariant(extruder_variant_id);
|
machine_manager.setActiveVariant(extruder_variant_id)
|
||||||
|
|
||||||
preferences.setValue("cura/choice_on_profile_override", choice_on_profile_override)
|
preferences.setValue("cura/choice_on_profile_override", choice_on_profile_override)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue