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,6 +371,9 @@ class GrampsBar(gtk.Notebook):
|
||||
if self.empty:
|
||||
if isinstance(gramplet, TabGramplet):
|
||||
self.empty = False
|
||||
if new_page == 0:
|
||||
self.remove_page(1)
|
||||
else:
|
||||
self.remove_page(0)
|
||||
else:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user