diff --git a/gramps/gui/glade/baseselector.glade b/gramps/gui/glade/baseselector.glade
index b98b38b7d..c6291e996 100644
--- a/gramps/gui/glade/baseselector.glade
+++ b/gramps/gui/glade/baseselector.glade
@@ -121,6 +121,7 @@
False
True
False
+ True
center
True
0.5
@@ -132,6 +133,22 @@
2
+
+
+
+ False
+ True
+ 3
+
+
True
diff --git a/gramps/gui/selectors/baseselector.py b/gramps/gui/selectors/baseselector.py
index 984dd0e7b..bdbf801a9 100644
--- a/gramps/gui/selectors/baseselector.py
+++ b/gramps/gui/selectors/baseselector.py
@@ -107,7 +107,6 @@ class BaseSelector(ManagedWindow):
self.sortorder = Gtk.SortType.ASCENDING
self.skip_list=skip
- self.build_tree()
self.selection = self.tree.get_selection()
self.track_ref_for_deletion("selection")
@@ -123,6 +122,12 @@ class BaseSelector(ManagedWindow):
self.showall.show()
else:
self.showall.hide()
+ while Gtk.events_pending():
+ Gtk.main_iteration()
+ self.build_tree()
+ loading = self.glade.get_object('loading')
+ loading.hide()
+
if default:
self.goto_handle(default)