[evolution/gnome-3-18] EComposerPrivate - Selection is not restored where it was saved for Templates or Drafts



commit 938b3fd4b379c6de7e94156464dd028ec3802ae9
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Sep 24 12:56:48 2015 +0200

    EComposerPrivate - Selection is not restored where it was saved for Templates or Drafts

 composer/e-composer-private.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index cbf6cb8..b57c561 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -907,7 +907,7 @@ composer_move_caret (EMsgComposer *composer)
                                "",
                                NULL);
 
-               if (is_message_from_edit_as_new) {
+               if (is_message_from_edit_as_new && !is_message_from_draft) {
                        element = WEBKIT_DOM_ELEMENT (body);
                        e_html_editor_selection_block_selection_changed (editor_selection);
                        goto move_caret;


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