diff --git a/src/gui/grampsbar.py b/src/gui/grampsbar.py index e4ae6b3c2..99434a76e 100644 --- a/src/gui/grampsbar.py +++ b/src/gui/grampsbar.py @@ -110,7 +110,8 @@ class GrampsBar(gtk.Notebook): all_opts = get_gramplet_opts(opts["name"], opts) gramplet = make_requested_gramplet(TabGramplet, self, all_opts, self.dbstate, self.uistate) - self.__add_tab(gramplet) + if gramplet: + self.__add_tab(gramplet) if len(opts_list) == 0: self.empty = True