From f4e7829e0b011fe5a40aec96e7895fe4c45661dc Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Tue, 29 Nov 2022 13:12:11 +0100 Subject: [PATCH] Remove infill icon changing density on change slider Suggestion from @lorenzoromagnoli CURA-9793 --- .../RecommendedStrengthSelector.qml | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedStrengthSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedStrengthSelector.qml index 75beb023ee..be4b0dbf0b 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedStrengthSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedStrengthSelector.qml @@ -18,39 +18,6 @@ Item property real labelColumnWidth: Math.round(width / 3) - // Create a binding to update the icon when the infill density changes - Binding - { - target: infillRowTitle - property: "source" - value: - { - const infill_steps = parseInt(infillSteps.properties.value); - if (infill_steps != 0) - { - return UM.Theme.getIcon("InfillGradual") - } - - const density = parseInt(infillDensity.properties.value) - if (density == 0) - { - return UM.Theme.getIcon("Infill0"); - } - else if (density < 40) - { - return UM.Theme.getIcon("Infill3"); - } - else if (density < 90) - { - return UM.Theme.getIcon("Infill2"); - } - else - { - return UM.Theme.getIcon("Infill100"); - } - } - } - // Here are the elements that are shown in the left column Cura.IconWithText {