From 54095f9a3ec5dc32564300415feb58dcf20ef40c Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Thu, 01 Nov 2012 14:32:36 +0000 Subject: Fix undo when a text is in edition Signed-off-by: Gonzalo Odiard --- diff --git a/Area.py b/Area.py index 25c2b3c..db2abaf 100644 --- a/Area.py +++ b/Area.py @@ -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: -- cgit v0.9.1