4703: Ensure correct tab is removed when a gramplet is dragged into an empty GrampsBar
svn: r16739
This commit is contained in:
parent
3eb0df771d
commit
60d1ae57a0
@ -371,7 +371,10 @@ class GrampsBar(gtk.Notebook):
|
||||
if self.empty:
|
||||
if isinstance(gramplet, TabGramplet):
|
||||
self.empty = False
|
||||
self.remove_page(0)
|
||||
if new_page == 0:
|
||||
self.remove_page(1)
|
||||
else:
|
||||
self.remove_page(0)
|
||||
else:
|
||||
return
|
||||
label = self.__create_tab_label(gramplet)
|
||||
|
Loading…
Reference in New Issue
Block a user