From 3aefdb4aed1f0f47c86b506a4e2e1503139bd1e8 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Tue, 30 Apr 2024 23:36:17 +0200 Subject: [PATCH] Push ImageEditorPage using pushDialogLayer BUG: 486315 (cherry picked from commit fdca7d58e503e7ed4a2aa65a6b8a18ea57373893) --- src/qml/AttachmentPane.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/AttachmentPane.qml b/src/qml/AttachmentPane.qml index 1ad8e92d1..ed8a71719 100644 --- a/src/qml/AttachmentPane.qml +++ b/src/qml/AttachmentPane.qml @@ -46,7 +46,7 @@ ColumnLayout { } onClicked: { - let imageEditor = applicationWindow().pageStack.layers.push(imageEditorPage); + let imageEditor = applicationWindow().pageStack.pushDialogLayer(imageEditorPage); imageEditor.newPathChanged.connect(function (newPath) { applicationWindow().pageStack.layers.pop(); root.attachmentPath = newPath;