From 31d83ac0e323600ff9c7d5fdd9286becea37a89f Mon Sep 17 00:00:00 2001 From: James Graham Date: Thu, 12 Sep 2024 08:12:31 +0100 Subject: [PATCH] Hack to see if kquickimageeditor is also the problem --- src/qml/AttachmentPane.qml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/qml/AttachmentPane.qml b/src/qml/AttachmentPane.qml index ed8a71719..92c37ae07 100644 --- a/src/qml/AttachmentPane.qml +++ b/src/qml/AttachmentPane.qml @@ -38,20 +38,20 @@ ColumnLayout { text: i18n("Edit") display: QQC2.AbstractButton.IconOnly - Component { - id: imageEditorPage - ImageEditorPage { - imagePath: root.attachmentPath - } - } + // Component { + // id: imageEditorPage + // ImageEditorPage { + // imagePath: root.attachmentPath + // } + // } - onClicked: { - let imageEditor = applicationWindow().pageStack.pushDialogLayer(imageEditorPage); - imageEditor.newPathChanged.connect(function (newPath) { - applicationWindow().pageStack.layers.pop(); - root.attachmentPath = newPath; - }); - } + // onClicked: { + // let imageEditor = applicationWindow().pageStack.pushDialogLayer(imageEditorPage); + // imageEditor.newPathChanged.connect(function (newPath) { + // applicationWindow().pageStack.layers.pop(); + // root.attachmentPath = newPath; + // }); + // } QQC2.ToolTip.text: text QQC2.ToolTip.visible: hovered }