]> git.neil.brown.name Git - scribble.git/commitdiff
Fix breakage of "newline" code. master
authorNeil Brown <neilb@notabene.brown>
Thu, 28 Aug 2008 11:56:13 +0000 (21:56 +1000)
committerNeil Brown <neilb@notabene.brown>
Thu, 28 Aug 2008 11:56:13 +0000 (21:56 +1000)
When a newline is entered we incorrectly disable text entry
by calling text_flush.

scribble.py

index aa23e1f83b32617a8a269eea7f57c6d04e2b4073..69a6844b0e8c6ae5c1553338e06454cd429ede47 100755 (executable)
@@ -937,6 +937,7 @@ class ScribblePad:
             tail = self.textstr[self.textcurs:]
             self.textstr = self.textstr[:self.textcurs]
             self.flush_text()
+            self.texttoggle.set_active(True)
             self.textcurs = len(tail)
             self.textstr = tail
             self.textpos = [ self.textpos[0], self.textpos[1] +