mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:19:02 +08:00
Make ViewSelector panel close upon selecting different view
CURA-5785
This commit is contained in:
parent
52b2f4579a
commit
bc5a2ce5b0
@ -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…
x
Reference in New Issue
Block a user