Browse Source

Rename EmptyCheck -> CheckMark

j.delarago 3 years ago
parent
commit
f6c48fdf07

+ 1 - 1
resources/qml/CheckBoxWithTooltip.qml

@@ -32,7 +32,7 @@ CheckBox
             width: UM.Theme.getSize("checkbox_mark").width
             sourceSize.height: width
             color: UM.Theme.getColor("checkbox_mark")
-            source: UM.Theme.getIcon("EmptyCheck", "low")
+            source: UM.Theme.getIcon("CheckMark", "low")
             opacity: checkbox.checked
             Behavior on opacity { NumberAnimation { duration: 100; } }
         }

+ 1 - 1
resources/qml/Settings/SettingCheckBox.qml

@@ -151,7 +151,7 @@ SettingItem
                 width: UM.Theme.getSize("checkbox_mark").width
                 sourceSize.height: width
                 color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text");
-                source: UM.Theme.getIcon("EmptyCheck", "low")
+                source: UM.Theme.getIcon("CheckMark", "low")
                 opacity: control.checked ? 1 : 0
                 Behavior on opacity { NumberAnimation { duration: 100; } }
             }

+ 1 - 1
resources/qml/Widgets/MenuItem.qml

@@ -37,7 +37,7 @@ MenuItem
         anchors.verticalCenter: parent.verticalCenter
         anchors.left: parent.left
         anchors.leftMargin: UM.Theme.getSize("default_margin").width
-        source: UM.Theme.getIcon("EmptyCheck", "low")
+        source: UM.Theme.getIcon("CheckMark", "low")
         color: UM.Theme.getColor("setting_control_text")
     }
 

+ 0 - 0
resources/themes/cura-light/icons/low/EmptyCheck.svg → resources/themes/cura-light/icons/low/CheckMark.svg


+ 2 - 2
resources/themes/cura-light/styles.qml

@@ -422,7 +422,7 @@ QtObject
                     width: UM.Theme.getSize("checkbox_mark").width
                     sourceSize.height: width
                     color: UM.Theme.getColor("checkbox_mark")
-                    source: control.exclusiveGroup ? UM.Theme.getIcon("Dot") : UM.Theme.getIcon("EmptyCheck", "low")
+                    source: control.exclusiveGroup ? UM.Theme.getIcon("Dot") : UM.Theme.getIcon("CheckMark", "low")
                     opacity: control.checked
                     Behavior on opacity { NumberAnimation { duration: 100; } }
                 }
@@ -472,7 +472,7 @@ QtObject
                         }
                         else
                         {
-                            return control.exclusiveGroup ? UM.Theme.getIcon("Dot", "low") : UM.Theme.getIcon("EmptyCheck", "low");
+                            return control.exclusiveGroup ? UM.Theme.getIcon("Dot", "low") : UM.Theme.getIcon("CheckMark", "low");
                         }
                     }
                     opacity: control.checked