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