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)
|
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