Fix bug where first gramplet added was not made active
svn: r16571
This commit is contained in:
parent
0708e27ee5
commit
ef77b17f72
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user