8128: Add transient parent to editor warning dialog

This commit is contained in:
Nick Hall 2015-03-31 16:46:26 +01:00 committed by Ross Gammon
parent 506e380431
commit af41f88760

View File

@ -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()