8128: Add transient parent to editor warning dialog

This commit is contained in:
Nick Hall authored and Ross Gammon committed 2015-05-09 00:31:31 +02:00
1 parent 506e380431
commit af41f88760
1 file changed
+2 -1
+2 -1
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()