RibbonWindow: Make popup close more elegent.
This commit is contained in:
parent
e77fd6c161
commit
9a086f1c35
|
@ -84,6 +84,7 @@ Window {
|
||||||
target: window_items
|
target: window_items
|
||||||
target_rect: Qt.rect(window_items.x + x, window_items.y + y, width, height)
|
target_rect: Qt.rect(window_items.x + x, window_items.y + y, width, height)
|
||||||
blur_enabled: true
|
blur_enabled: true
|
||||||
|
onClosed: contentItem.destroy()
|
||||||
}
|
}
|
||||||
RibbonPopupDialog{
|
RibbonPopupDialog{
|
||||||
id: dialog
|
id: dialog
|
||||||
|
@ -130,6 +131,5 @@ Window {
|
||||||
function close_popup()
|
function close_popup()
|
||||||
{
|
{
|
||||||
pop.close()
|
pop.close()
|
||||||
pop.contentItem.destroy()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue