move destroyOnClose into ImagePackSettingsDialog

This commit is contained in:
FallenValkyrie 2023-12-19 16:20:29 +01:00
parent 31623000a8
commit c254697eaa
No known key found for this signature in database
GPG key ID: 9D1AE3C23A00B8BC
2 changed files with 1 additions and 1 deletions

View file

@ -19,6 +19,5 @@ P.MessageDialog {
onAccepted: { onAccepted: {
console.info("deleting image pack " + imagePack.packname); console.info("deleting image pack " + imagePack.packname);
imagePack.remove() imagePack.remove()
timelineRoot.destroyOnClose(dialog);
} }
} }

View file

@ -215,6 +215,7 @@ ApplicationWindow {
"imagePack": currentPack "imagePack": currentPack
}); });
dialog.open(); dialog.open();
timelineRoot.destroyOnClose(dialog);
} }
} }
} }