mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
bar/popops: make popup window dissapear on menu close
This commit is contained in:
parent
5906ec575a
commit
2b1596f348
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ PopupWindow {
|
||||||
width: implicitWidth
|
width: implicitWidth
|
||||||
height: implicitHeight
|
height: implicitHeight
|
||||||
|
|
||||||
|
onVisibleChanged: root.visible = visible
|
||||||
|
|
||||||
// needed to handle occurences where items are resized while open
|
// needed to handle occurences where items are resized while open
|
||||||
onImplicitWidthChanged: {
|
onImplicitWidthChanged: {
|
||||||
if (root.isOpen && popupContent.data !== []) {
|
if (root.isOpen && popupContent.data !== []) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue