Additional test before import
svn: r14369
This commit is contained in:
parent
3cdc9d9791
commit
17d6222e70
@ -197,7 +197,7 @@ def construct_view_order():
|
|||||||
viewstoshow = {}
|
viewstoshow = {}
|
||||||
for pdata in view_list:
|
for pdata in view_list:
|
||||||
mod = pmgr.load_plugin(pdata)
|
mod = pmgr.load_plugin(pdata)
|
||||||
if not mod:
|
if not mod or not hasattr(mod, pdata.viewclass):
|
||||||
#import of plugin failed
|
#import of plugin failed
|
||||||
ErrorDialog(
|
ErrorDialog(
|
||||||
_('Failed Loading View'),
|
_('Failed Loading View'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user