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)
|
gramplet = self.get_nth_page(new_page)
|
||||||
if self.empty:
|
if self.empty:
|
||||||
if isinstance(gramplet, TabGramplet):
|
if isinstance(gramplet, TabGramplet):
|
||||||
self.remove_page(0)
|
|
||||||
self.empty = False
|
self.empty = False
|
||||||
|
self.remove_page(0)
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
label = self.__create_tab_label(gramplet)
|
label = self.__create_tab_label(gramplet)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user