[gnoduino] Bug 675350 - Program exits unexpectedly with loss of changes



commit 064ad0c50c4cb48af2dc76973f15ebab4bbc92bc
Author: Lucian Langa <lucilanga gnome org>
Date:   Sat May 5 13:54:26 2012 +0200

    Bug 675350 - Program exits unexpectedly with loss of changes

 src/srcview.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/srcview.py b/src/srcview.py
index 8b33d9b..0bc7687 100644
--- a/src/srcview.py
+++ b/src/srcview.py
@@ -60,6 +60,7 @@ def instext(b, iter, text, len) :
 	lang = get_lang_for_content(cont)
 	if lang != None:
 		b.set_language(lang)
+	config.cur_iter = -1
 
 def updatePos(buffer, sb):
 	sb.pop(1)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]