Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2019-05-03 14:17:10 +0300
committerJaime van Kessel <nallath@gmail.com>2019-05-03 14:17:10 +0300
commitd42f446d70e351b925d94e9aa78de29bd3d51de5 (patch)
tree645e64b6d32d89acb0b328f9766160e9df4858ab /resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
parent18630fa2f1f762360059a939dcadb2353193c7af (diff)
Remove usages of deprecated function
Diffstat (limited to 'resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml')
-rw-r--r--resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
index c60d4d48f0..d0dcd6d6c8 100644
--- a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
+++ b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
@@ -319,8 +319,8 @@ Item
OldControls.ToolButton
{
id: variantSelection
- text: Cura.MachineManager.activeVariantName
- tooltip: Cura.MachineManager.activeVariantName
+ text: Cura.MachineManager.activeStack != null ? Cura.MachineManager.activeStack.variant.name : ""
+ tooltip: text
height: parent.height
width: selectors.controlWidth
style: UM.Theme.styles.print_setup_header_button