From a5c2a734875a859d60bba81242861fb8d4e16290 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 31 Oct 2018 13:08:59 +0100 Subject: [PATCH] Fix adhesion type checkbox if default is skirt The remove-unused-values feature doesn't work with settings that are resolved, because we try to remove them at the appropriate position in the stack but then we check at that position in the stack if the value is not the same as what it was, but with this check the resolve function is no longer evaluated. It's complex, but hard to solve because we can't try to remove it at this location and predict that this will change the actual final value after the resolve function has done its thing. Contributes to issue CURA-5877. --- resources/qml/SidebarSimple.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/qml/SidebarSimple.qml b/resources/qml/SidebarSimple.qml index ec673f2823..ddb42f44c6 100644 --- a/resources/qml/SidebarSimple.qml +++ b/resources/qml/SidebarSimple.qml @@ -1118,6 +1118,7 @@ Item { id: platformAdhesionType containerStack: Cura.MachineManager.activeMachine + removeUnusedValue: false //Doesn't work with settings that are resolved. key: "adhesion_type" watchedProperties: [ "value", "enabled" ] storeIndex: 0