Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-11-01 14:32:36 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-11-01 14:32:36 (GMT)
commit54095f9a3ec5dc32564300415feb58dcf20ef40c (patch)
treed494750ac84928c20ec934888e75d05956a3f7a7
parent45d6940a1e454b169243f7742780fa6b0942fc67 (diff)
Fix undo when a text is in edition
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r--Area.py3
1 files changed, 2 insertions, 1 deletions
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: