mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 07:49:04 +08:00
Close the popup panel when the user clicks in some of the buttons in the
printer selector. Contributes to CURA-5942.
This commit is contained in:
parent
3434b30ee0
commit
b890e40e81
@ -16,6 +16,7 @@ Item
|
||||
property color materialColor
|
||||
property alias textColor: extruderNumberText.color
|
||||
property bool extruderEnabled: true
|
||||
|
||||
UM.RecolorImage
|
||||
{
|
||||
id: mainIcon
|
||||
|
@ -184,7 +184,11 @@ Cura.ExpandableComponent
|
||||
hoverColor: UM.Theme.getColor("secondary")
|
||||
textColor: UM.Theme.getColor("primary")
|
||||
textHoverColor: UM.Theme.getColor("text")
|
||||
onClicked: Cura.Actions.addMachine.trigger()
|
||||
onClicked:
|
||||
{
|
||||
togglePopup()
|
||||
Cura.Actions.addMachine.trigger()
|
||||
}
|
||||
}
|
||||
|
||||
Cura.ActionButton
|
||||
@ -196,7 +200,11 @@ Cura.ExpandableComponent
|
||||
hoverColor: UM.Theme.getColor("secondary")
|
||||
textColor: UM.Theme.getColor("primary")
|
||||
textHoverColor: UM.Theme.getColor("text")
|
||||
onClicked: Cura.Actions.configureMachines.trigger()
|
||||
onClicked:
|
||||
{
|
||||
togglePopup()
|
||||
Cura.Actions.configureMachines.trigger()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user