Fix of errormsg when loading unknown gramplet.
svn: r17017
This commit is contained in:
parent
00db7d0d88
commit
84f6e79ad6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user