From ef77b17f7207cfaafac5991bc6cb54fd12501a65 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 4 Feb 2011 18:47:58 +0000 Subject: [PATCH] Fix bug where first gramplet added was not made active svn: r16571 --- src/gui/grampsbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/grampsbar.py b/src/gui/grampsbar.py index 86f43d894..84cf6485f 100644 --- a/src/gui/grampsbar.py +++ b/src/gui/grampsbar.py @@ -385,8 +385,8 @@ class GrampsBar(gtk.Notebook): gramplet = self.get_nth_page(new_page) if self.empty: if isinstance(gramplet, TabGramplet): - self.remove_page(0) self.empty = False + self.remove_page(0) else: return label = self.__create_tab_label(gramplet)