Fix of errormsg when loading unknown gramplet.
svn: r17016
This commit is contained in:
parent
1b5b287455
commit
17a3290eea
@ -110,7 +110,8 @@ class GrampsBar(gtk.Notebook):
|
|||||||
all_opts = get_gramplet_opts(opts["name"], opts)
|
all_opts = get_gramplet_opts(opts["name"], opts)
|
||||||
gramplet = make_requested_gramplet(TabGramplet, self, all_opts,
|
gramplet = make_requested_gramplet(TabGramplet, self, all_opts,
|
||||||
self.dbstate, self.uistate)
|
self.dbstate, self.uistate)
|
||||||
self.__add_tab(gramplet)
|
if gramplet:
|
||||||
|
self.__add_tab(gramplet)
|
||||||
|
|
||||||
if len(opts_list) == 0:
|
if len(opts_list) == 0:
|
||||||
self.empty = True
|
self.empty = True
|
||||||
|
Loading…
Reference in New Issue
Block a user