Fix of errormsg when loading unknown gramplet.

svn: r17016
This commit is contained in:
Peter Landgren 2011-04-01 06:45:52 +00:00
parent 1b5b287455
commit 17a3290eea

View File

@ -110,6 +110,7 @@ class GrampsBar(gtk.Notebook):
all_opts = get_gramplet_opts(opts["name"], opts)
gramplet = make_requested_gramplet(TabGramplet, self, all_opts,
self.dbstate, self.uistate)
if gramplet:
self.__add_tab(gramplet)
if len(opts_list) == 0: