From af41f88760fda2dc2a54889c37617d04cf28bee7 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 31 Mar 2015 16:46:26 +0100 Subject: [PATCH] 8128: Add transient parent to editor warning dialog --- gramps/gui/editors/editprimary.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gui/editors/editprimary.py b/gramps/gui/editors/editprimary.py index 4ba090706..f2b11375d 100644 --- a/gramps/gui/editors/editprimary.py +++ b/gramps/gui/editors/editprimary.py @@ -234,7 +234,8 @@ class EditPrimary(ManagedWindow, DbGUIElement): _('If you close without saving, the changes you ' 'have made will be lost'), self._do_close, - self.save) + self.save, + self.window) return True else: self._do_close()