From f11c7b9de066363a11765d01f9ebc42d7b325477 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 28 Nov 2015 18:30:57 +0000 Subject: [PATCH] 9079: Fix delete error in undoable entry widget --- gramps/gui/widgets/undoableentry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/widgets/undoableentry.py b/gramps/gui/widgets/undoableentry.py index c124e9253..320548b5b 100644 --- a/gramps/gui/widgets/undoableentry.py +++ b/gramps/gui/widgets/undoableentry.py @@ -69,7 +69,7 @@ class UndoableInsertEntry(object): class UndoableDeleteEntry(object): """something that has been deleted from our textbuffer""" def __init__(self, editable, start, end): - self.text = editable.get_chars(start, end).encode('utf-8') + self.text = editable.get_chars(start, end) self.start = start self.end = end # need to find out if backspace or delete key has been used