diff options
author | FallenValkyrie <e.vanemelen@proton.me> | 2023-12-19 16:20:29 +0100 |
---|---|---|
committer | FallenValkyrie <e.vanemelen@proton.me> | 2023-12-19 16:33:54 +0100 |
commit | c254697eaaa411870d130b3ccba8989219ed2699 (patch) | |
tree | aa1d10f18afdbfa43b554b46f7180831b59c52ab /resources | |
parent | Implement account pack deletion (diff) | |
download | nheko-c254697eaaa411870d130b3ccba8989219ed2699.tar.xz |
move destroyOnClose into ImagePackSettingsDialog
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/dialogs/ImagePackDeleteDialog.qml | 1 | ||||
-rw-r--r-- | resources/qml/dialogs/ImagePackSettingsDialog.qml | 1 |
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); } } } |