[evolution] EHTMLEditorView - When switch composer mode from HTML on template that was written in WebKit compose



commit 78c791133c2de6431e220c0dc168d50334e358f1
Author: Tomas Popela <tpopela redhat com>
Date:   Sun Mar 15 20:17:10 2015 +0100

    EHTMLEditorView - When switch composer mode from HTML on template that was written in WebKit composer the 
Lose formatting dialog is shown.

 e-util/e-html-editor-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 935a6fb..eb3623d 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -8917,6 +8917,7 @@ e_html_editor_view_set_html_mode (EHTMLEditorView *view,
        hide = !reply && !converted;
 
        convert = message && ((!hide && reply && !converted) || (edit_as_new && !converted));
+       convert = convert && !is_from_new_message;
 
        /* If toggling from HTML to plain text mode, ask user first */
        if (convert && view->priv->html_mode && !html_mode) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]