mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06: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
2 changed files with 11 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue