From 457d1b38a8e7d7ebfc5d7d0011be53e6880f5118 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 10 May 2013 00:07:06 +0000 Subject: [PATCH] Fix scroll to mark bug on added page svn: r22235 --- gramps/gui/plug/_windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/plug/_windows.py b/gramps/gui/plug/_windows.py index 3c8fefd27..238563f4d 100644 --- a/gramps/gui/plug/_windows.py +++ b/gramps/gui/plug/_windows.py @@ -845,7 +845,7 @@ class ToolManagedWindowBase(ManagedWindow): def write_to_page(self, page, text): buffer = page.get_buffer() mark = buffer.create_mark("end", buffer.get_end_iter()) - self.results_text.scroll_to_mark(mark, 0.0, True, 0, 0) + page.scroll_to_mark(mark, 0.0, True, 0, 0) buffer.insert_at_cursor(text) buffer.delete_mark_by_name("end")