[evolution/gnome-3-18] EHTMLEditorview - Don't save history when undoing/redoing a paste of content
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-18] EHTMLEditorview - Don't save history when undoing/redoing a paste of content
- Date: Mon, 23 Nov 2015 12:52:40 +0000 (UTC)
commit 01080003a9b93e662d140fb4790881d4a9fc64d8
Author: Tomas Popela <tpopela redhat com>
Date: Mon Nov 23 13:39:48 2015 +0100
EHTMLEditorview - Don't save history when undoing/redoing a paste of content
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 f55c557..84d12fc 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -8125,7 +8125,7 @@ html_editor_view_insert_converted_html_into_selection (EHTMLEditorView *view,
g_free (inner_html);
has_selection = !e_html_editor_selection_is_collapsed (selection);
- if (has_selection) {
+ if (has_selection && !view->priv->undo_redo_in_progress) {
WebKitDOMRange *range;
range = html_editor_view_get_dom_range (view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]