8128: Add transient parent to editor warning dialog
This commit is contained in:
parent
506e380431
commit
af41f88760
@ -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…
x
Reference in New Issue
Block a user