From 59bad0965081cca7142e6b04b6517667d4d34362 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 3 May 2016 10:41:55 -0400 Subject: [PATCH] Two errors on transient parents --- gramps/gui/viewmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gui/viewmanager.py b/gramps/gui/viewmanager.py index d0b9fabbb..6fdc5e3ec 100644 --- a/gramps/gui/viewmanager.py +++ b/gramps/gui/viewmanager.py @@ -1615,7 +1615,7 @@ def run_plugin(pdata, dbstate, uistate): 'firstauthoremail': pdata.authors_email[0] if pdata.authors_email else '...', 'error_msg': error_msg}, - parent=self.uistate.window) + parent=uistate.window) return if pdata.ptype == REPORT: @@ -1672,7 +1672,7 @@ def get_available_views(): 'firstauthoremail': pdata.authors_email[0] if pdata.authors_email else '...', 'error_msg': lasterror}, - parent=self.uistate.window) + parent=None) continue viewclass = getattr(mod, pdata.viewclass)