diff --git a/resources/qml/dialogs/ImagePackDeleteDialog.qml b/resources/qml/dialogs/ImagePackDeleteDialog.qml index 7ac96b91..91407a9e 100644 --- a/resources/qml/dialogs/ImagePackDeleteDialog.qml +++ b/resources/qml/dialogs/ImagePackDeleteDialog.qml @@ -19,6 +19,5 @@ P.MessageDialog { onAccepted: { console.info("deleting image pack " + imagePack.packname); imagePack.remove() - timelineRoot.destroyOnClose(dialog); } } diff --git a/resources/qml/dialogs/ImagePackSettingsDialog.qml b/resources/qml/dialogs/ImagePackSettingsDialog.qml index d2e58db6..69068405 100644 --- a/resources/qml/dialogs/ImagePackSettingsDialog.qml +++ b/resources/qml/dialogs/ImagePackSettingsDialog.qml @@ -215,6 +215,7 @@ ApplicationWindow { "imagePack": currentPack }); dialog.open(); + timelineRoot.destroyOnClose(dialog); } } }