1
0

qml: destroy qeswaphelper with SwapDialog and catch RuntimeErrors if qeswalhelper members are accessed after

This commit is contained in:
Sander van Grieken
2023-04-12 16:09:37 +02:00
parent d6403400bc
commit d5ce9c0994
2 changed files with 25 additions and 14 deletions

View File

@@ -365,7 +365,10 @@ ApplicationWindow
Component {
id: swapDialog
SwapDialog {
onClosed: destroy()
onClosed: {
swaphelper.destroy()
destroy()
}
}
}