summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-06 06:39:36 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-06 06:39:36 (GMT)
commitda7acca24ee4feadef84423b65ec7310c1716ca0 (patch)
tree093284a157c2a54b8faf8a5944ea2b5c675ea565
parent36f439a3c225905c999875166144f4858673d54d (diff)
Allow selection when we forward message
CCBUG: 372085
-rw-r--r--messagecomposer/src/helper/messagefactory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/messagecomposer/src/helper/messagefactory.cpp b/messagecomposer/src/helper/messagefactory.cpp
index 7497d2a..ad2bbaa 100644
--- a/messagecomposer/src/helper/messagefactory.cpp
+++ b/messagecomposer/src/helper/messagefactory.cpp
@@ -415,6 +415,7 @@ KMime::Message::Ptr MessageFactory::createForward()
TemplateParser::TemplateParser parser(msg, TemplateParser::TemplateParser::Forward);
parser.setIdentityManager(m_identityManager);
parser.setCharsets(MessageComposerSettings::self()->preferredCharsets());
+ parser.setSelection(m_selection);
if (!m_template.isEmpty()) {
parser.process(m_template, m_origMsg);
} else {