From: Neil Brown Date: Thu, 28 Aug 2008 11:56:13 +0000 (+1000) Subject: Fix breakage of "newline" code. X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;p=scribble.git Fix breakage of "newline" code. When a newline is entered we incorrectly disable text entry by calling text_flush. --- diff --git a/scribble.py b/scribble.py index aa23e1f..69a6844 100755 --- a/scribble.py +++ b/scribble.py @@ -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] +