[evolution/wip/webkit2] EComposerPrivate - Selection is not restored where it was saved for Templates or Drafts
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EComposerPrivate - Selection is not restored where it was saved for Templates or Drafts
- Date: Tue, 1 Mar 2016 14:49:26 +0000 (UTC)
commit 6a2b0f1789e5760935acff435e58a8bf6e06e9e2
Author: Tomas Popela <tpopela redhat com>
Date: Tue Mar 1 14:52:17 2016 +0100
EComposerPrivate - Selection is not restored where it was saved for Templates or Drafts
.../composer/e-composer-private-dom-functions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-composer-private-dom-functions.c
b/web-extensions/composer/e-composer-private-dom-functions.c
index 8081d35..97c89fc 100644
--- a/web-extensions/composer/e-composer-private-dom-functions.c
+++ b/web-extensions/composer/e-composer-private-dom-functions.c
@@ -133,7 +133,7 @@ composer_move_caret (WebKitDOMDocument *document,
"",
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_web_extension_block_selection_changed_callback (extension);
goto move_caret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]