move destroyOnClose into ImagePackSettingsDialog

pull/1630/head
FallenValkyrie 1 year ago
parent 31623000a8
commit c254697eaa
No known key found for this signature in database
GPG Key ID: 9D1AE3C23A00B8BC
  1. 1
      resources/qml/dialogs/ImagePackDeleteDialog.qml
  2. 1
      resources/qml/dialogs/ImagePackSettingsDialog.qml

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

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

Loading…
Cancel
Save