Fix bug where first gramplet added was not made active

svn: r16571
This commit is contained in:
Nick Hall 2011-02-04 18:47:58 +00:00
parent 0708e27ee5
commit ef77b17f72

View File

@ -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)