8128: Add transient parent to editor warning dialog

This commit is contained in:
Nick Hall 2015-03-31 16:46:26 +01:00
parent 54dde99ad0
commit d6c6d208c5

View File

@ -234,7 +234,8 @@ class EditPrimary(ManagedWindow, DbGUIElement):
_('If you close without saving, the changes you ' _('If you close without saving, the changes you '
'have made will be lost'), 'have made will be lost'),
self._do_close, self._do_close,
self.save) self.save,
self.window)
return True return True
else: else:
self._do_close() self._do_close()