make sure to destroy the page when closed
This commit is contained in:
parent
52b95779ad
commit
d840f5ac69
@ -61,6 +61,11 @@ Rectangle {
|
||||
PlasmaCore.Dialog {
|
||||
id: sidePanel
|
||||
location: PlasmaCore.Types.LeftEdge
|
||||
onVisibleChanged: {
|
||||
if (!visible) {
|
||||
sidePanelStack.pop(blankPage);
|
||||
}
|
||||
}
|
||||
mainItem: PlasmaComponents.PageStack {
|
||||
id: sidePanelStack
|
||||
state: "closed"
|
||||
|
Loading…
Reference in New Issue
Block a user