Fix of errormsg when loading unknown gramplet.

svn: r17017
This commit is contained in:
Peter Landgren 2011-04-01 06:46:44 +00:00
parent 00db7d0d88
commit 84f6e79ad6

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: