diff --git a/Modules/SidePanel/Cards/MediaCard.qml b/Modules/SidePanel/Cards/MediaCard.qml index f8945df1..2a9a9213 100644 --- a/Modules/SidePanel/Cards/MediaCard.qml +++ b/Modules/SidePanel/Cards/MediaCard.qml @@ -99,6 +99,14 @@ NBox { implicitHeight: Math.min(160 * scaling, contentItem.implicitHeight + Style.marginM * scaling) padding: Style.marginS * scaling + onOpened: { + PanelService.willOpenPopup(root) + } + + onClosed: { + PanelService.willClosePopup(root) + } + contentItem: ListView { clip: true implicitHeight: contentHeight