fix(ui/modules/Common/SearchBox): handle window visibility changed

This commit is contained in:
Ronan Abhamon 2017-02-16 11:32:04 +01:00
parent 95316853b5
commit 5ec245fd49

View file

@ -100,6 +100,10 @@ Item {
this.connect(window, 'xChanged', handleCoords)
this.connect(window, 'yChanged', handleCoords)
this.connect(window, 'visibilityChanged', function () {
searchBox.hideMenu()
})
handleCoords()
}
}