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;