diff options
author | Ghostkeeper <rubend@tutanota.com> | 2019-01-30 14:59:27 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2019-01-30 14:59:27 +0300 |
commit | 430be551d39c1d056b90b59108d7f3f4c23d1a3f (patch) | |
tree | b6fdcac32dfc321f51d42781a03063acefbd902a /resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml | |
parent | 14300e745f2102605d6a93260d9e218e1d6ac15e (diff) |
Fix link to properties of row
This fixes a QML warning and probably fixes the visibility of these elements.
Diffstat (limited to 'resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml')
-rw-r--r-- | resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml index 09ea8300ad..f33f638119 100644 --- a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml +++ b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml @@ -291,6 +291,7 @@ Item Row { + id: warnings height: UM.Theme.getSize("print_setup_big_item").height visible: buildplateCompatibilityError || buildplateCompatibilityWarning @@ -320,7 +321,7 @@ Item sourceSize.width: width sourceSize.height: height color: UM.Theme.getColor("material_compatibility_warning") - visible: !Cura.MachineManager.isCurrentSetupSupported || buildplateCompatibilityError || buildplateCompatibilityWarning + visible: !Cura.MachineManager.isCurrentSetupSupported || warnings.buildplateCompatibilityError || warnings.buildplateCompatibilityWarning } Label @@ -333,7 +334,7 @@ Item text: catalog.i18nc("@label", "Use glue for better adhesion with this material combination.") font: UM.Theme.getFont("very_small") color: UM.Theme.getColor("text") - visible: CuraSDKVersion == "dev" ? false : buildplateCompatibilityError || buildplateCompatibilityWarning + visible: CuraSDKVersion == "dev" ? false : warnings.buildplateCompatibilityError || warnings.buildplateCompatibilityWarning wrapMode: Text.WordWrap renderType: Text.NativeRendering } |