bar/popops: make popup window dissapear on menu close

This commit is contained in:
kossLAN 2025-06-08 16:29:29 -04:00
parent 5906ec575a
commit 2b1596f348
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8

View file

@ -111,6 +111,8 @@ PopupWindow {
width: implicitWidth
height: implicitHeight
onVisibleChanged: root.visible = visible
// needed to handle occurences where items are resized while open
onImplicitWidthChanged: {
if (root.isOpen && popupContent.data !== []) {