[evolution] EHTMLEditorView - Unneeded spacer left when setting a top signature from an existing one to None



commit a57e3c44d0033018fd8a4018cb90af08ecd05434
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Jul 14 15:23:17 2016 +0200

    EHTMLEditorView - Unneeded spacer left when setting a top signature from an existing one to None

 e-util/e-html-editor-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 4d77c45..cfe133b 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -15738,7 +15738,7 @@ insert:
                        NULL);
 
                /* Insert a spacer below the top signature */
-               if (top_signature) {
+               if (top_signature && content) {
                        WebKitDOMElement *spacer;
 
                        spacer = prepare_top_signature_spacer (view->priv->selection, document);


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