Commit 1ef10a56 authored by Gus Grubba's avatar Gus Grubba

Add function to dismiss popup from outside itself.

parent c55bcd87
...@@ -604,6 +604,12 @@ ApplicationWindow { ...@@ -604,6 +604,12 @@ ApplicationWindow {
indicatorDropdown.open() indicatorDropdown.open()
} }
function hidePopUp() {
indicatorDropdown.close()
indicatorDropdown.currentItem = null
indicatorDropdown.currentIndicator = null
}
Popup { Popup {
id: indicatorDropdown id: indicatorDropdown
y: ScreenTools.defaultFontPixelHeight y: ScreenTools.defaultFontPixelHeight
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment