summaryrefslogtreecommitdiffstats
path: root/components/mail/contents/ui/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/mail/contents/ui/main.qml')
-rw-r--r--components/mail/contents/ui/main.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml
index c2569cdc..8d7047ab 100644
--- a/components/mail/contents/ui/main.qml
+++ b/components/mail/contents/ui/main.qml
@@ -184,7 +184,8 @@ ApplicationWindow {
184 } 184 }
185 185
186 function handler(context) { 186 function handler(context) {
187 composerComponent.createObject(app, {"originalMessage": context.mail}) 187 var component = composerComponent.createObject(app)
188 component.loadMessage(context.mail, false)
188 } 189 }
189 } 190 }
190 191
@@ -195,7 +196,8 @@ ApplicationWindow {
195 } 196 }
196 197
197 function handler(context) { 198 function handler(context) {
198 composerComponent.createObject(app, {"draftMessage": context.mail}) 199 var component= composerComponent.createObject(app, {"draftMessage": context.mail})
200 component.loadMessage(context.mail, true)
199 } 201 }
200 } 202 }
201 203