Browse Source

Add properties (with defaults) to the PrintSetupHeaderButton state-props

Resolves 2 QML-warnings

CURA-8684
casper 3 years ago
parent
commit
5aa67770a2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      resources/qml/PrintSetupHeaderButton.qml

+ 3 - 0
resources/qml/PrintSetupHeaderButton.qml

@@ -16,6 +16,9 @@ ToolButton
 
     property alias tooltip: tooltip.text
 
+    property bool valueError: false;
+    property bool valueWarning: false;
+
     Cura.ToolTip
     {
         id: tooltip