diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-11-01 14:32:36 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-11-01 14:32:36 (GMT) |
commit | 54095f9a3ec5dc32564300415feb58dcf20ef40c (patch) | |
tree | d494750ac84928c20ec934888e75d05956a3f7a7 | |
parent | 45d6940a1e454b169243f7742780fa6b0942fc67 (diff) |
Fix undo when a text is in edition
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | Area.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -958,7 +958,8 @@ class Area(Gtk.DrawingArea): self.getout(undo=True) if self.text_in_progress: - self.d.text(self, None) + # apply the text + self.d.text(self, 0, 0) self.activity.textview.hide() if self._undo_index > 0: |