From c254697eaaa411870d130b3ccba8989219ed2699 Mon Sep 17 00:00:00 2001 From: FallenValkyrie Date: Tue, 19 Dec 2023 16:20:29 +0100 Subject: [PATCH] move destroyOnClose into ImagePackSettingsDialog --- resources/qml/dialogs/ImagePackDeleteDialog.qml | 1 - resources/qml/dialogs/ImagePackSettingsDialog.qml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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); } } }