[evolution] 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] EHTMLEditorview - Don't save history when undoing/redoing a paste of content
- Date: Mon, 23 Nov 2015 12:44:25 +0000 (UTC)
commit f146539c0748396542bb5d3f2bfd166358a05020
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 59552cb..519a25e 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -8162,7 +8162,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]