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



commit 0a74fa010052fecde4aa314bf31195c1086837e7
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Apr 22 14:16:07 2015 +0200

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

 web-extensions/e-html-editor-view-dom-functions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/e-html-editor-view-dom-functions.c 
b/web-extensions/e-html-editor-view-dom-functions.c
index 8a3f437..e7612c6 100644
--- a/web-extensions/e-html-editor-view-dom-functions.c
+++ b/web-extensions/e-html-editor-view-dom-functions.c
@@ -7328,6 +7328,7 @@ dom_check_if_conversion_needed (WebKitDOMDocument *document)
        hide = !reply && !converted;
 
        convert = message && ((!hide && reply && !converted) || (edit_as_new && !converted));
+       convert = convert && !is_from_new_message;
 
        return convert;
 }


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