mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Make ViewSelector panel close upon selecting different view
CURA-5785
This commit is contained in:
parent
52b2f4579a
commit
bc5a2ce5b0
1 changed files with 5 additions and 2 deletions
|
@ -75,7 +75,6 @@ Item
|
|||
elide: Text.ElideRight
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
|
||||
}
|
||||
|
||||
popupItem: Column
|
||||
|
@ -96,7 +95,11 @@ Item
|
|||
radius: UM.Theme.getSize("default_radius").width
|
||||
checkable: true
|
||||
checked: active
|
||||
onClicked: UM.Controller.setActiveView(id)
|
||||
onClicked:
|
||||
{
|
||||
viewSelector.togglePopup()
|
||||
UM.Controller.setActiveView(id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue