diff --git a/lib_source/qml/RibbonWindow.qml b/lib_source/qml/RibbonWindow.qml index c9a1e62..39de6cf 100644 --- a/lib_source/qml/RibbonWindow.qml +++ b/lib_source/qml/RibbonWindow.qml @@ -84,6 +84,7 @@ Window { target: window_items target_rect: Qt.rect(window_items.x + x, window_items.y + y, width, height) blur_enabled: true + onClosed: contentItem.destroy() } RibbonPopupDialog{ id: dialog @@ -130,6 +131,5 @@ Window { function close_popup() { pop.close() - pop.contentItem.destroy() } }