Two errors on transient parents

This commit is contained in:
Doug Blank 2016-05-03 10:41:55 -04:00
parent 032af37136
commit 59bad09650

View File

@ -1615,7 +1615,7 @@ def run_plugin(pdata, dbstate, uistate):
'firstauthoremail': pdata.authors_email[0] if 'firstauthoremail': pdata.authors_email[0] if
pdata.authors_email else '...', pdata.authors_email else '...',
'error_msg': error_msg}, 'error_msg': error_msg},
parent=self.uistate.window) parent=uistate.window)
return return
if pdata.ptype == REPORT: if pdata.ptype == REPORT:
@ -1672,7 +1672,7 @@ def get_available_views():
'firstauthoremail': pdata.authors_email[0] if 'firstauthoremail': pdata.authors_email[0] if
pdata.authors_email else '...', pdata.authors_email else '...',
'error_msg': lasterror}, 'error_msg': lasterror},
parent=self.uistate.window) parent=None)
continue continue
viewclass = getattr(mod, pdata.viewclass) viewclass = getattr(mod, pdata.viewclass)