8128: Add transient parent to editor warning dialog
This commit is contained in:
parent
54dde99ad0
commit
d6c6d208c5
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user