mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Merge remote-tracking branch 'origin/CURA-8684_QtControls_replacement_Buttons,_Actions_&_'Exclusivity'' into CURA-8684_QtControls_replacement_Buttons,_Actions_&_'Exclusivity'
This commit is contained in:
commit
24a8e8b761
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ Button
|
||||||
}
|
}
|
||||||
return UM.Theme.getColor("toolbar_background")
|
return UM.Theme.getColor("toolbar_background")
|
||||||
}
|
}
|
||||||
Behavior on color { ColorAnimation { duration: 50; } }
|
Behavior on color { ColorAnimation { duration: 50 } }
|
||||||
|
|
||||||
border.width: (base.hasOwnProperty("needBorder") && base.needBorder) ? UM.Theme.getSize("default_lining").width : 0
|
border.width: (base.hasOwnProperty("needBorder") && base.needBorder) ? UM.Theme.getSize("default_lining").width : 0
|
||||||
border.color: base.checked ? UM.Theme.getColor("icon") : UM.Theme.getColor("lining")
|
border.color: base.checked ? UM.Theme.getColor("icon") : UM.Theme.getColor("lining")
|
||||||
|
|
|
@ -38,7 +38,7 @@ UM.ManagementPage
|
||||||
{
|
{
|
||||||
id: activateMenuButton
|
id: activateMenuButton
|
||||||
text: catalog.i18nc("@action:button", "Activate");
|
text: catalog.i18nc("@action:button", "Activate");
|
||||||
icon.name: "list-activate";
|
icon.name: "list-activate"
|
||||||
enabled: base.currentItem != null && base.currentItem.id != Cura.MachineManager.activeMachine.id
|
enabled: base.currentItem != null && base.currentItem.id != Cura.MachineManager.activeMachine.id
|
||||||
onClicked: Cura.MachineManager.setActiveMachine(base.currentItem.id)
|
onClicked: Cura.MachineManager.setActiveMachine(base.currentItem.id)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue