summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorFallenValkyrie <e.vanemelen@proton.me>2023-12-19 16:20:29 +0100
committerFallenValkyrie <e.vanemelen@proton.me>2023-12-19 16:33:54 +0100
commitc254697eaaa411870d130b3ccba8989219ed2699 (patch)
treeaa1d10f18afdbfa43b554b46f7180831b59c52ab /resources
parentImplement account pack deletion (diff)
downloadnheko-c254697eaaa411870d130b3ccba8989219ed2699.tar.xz
move destroyOnClose into ImagePackSettingsDialog
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/dialogs/ImagePackDeleteDialog.qml1
-rw-r--r--resources/qml/dialogs/ImagePackSettingsDialog.qml1
2 files changed, 1 insertions, 1 deletions
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);
                             }
                         }
                     }