Remove usages of deprecated function

This commit is contained in:
Jaime van Kessel 2019-05-03 13:17:10 +02:00
parent 18630fa2f1
commit d42f446d70
3 changed files with 9 additions and 4 deletions

View file

@ -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