bug 9854; fix Merge Family; Error dialog hidden behind Merge Dialog

While performing a Merge Family that results in an error, the Error
dialog appears as normally initially.

However, if the user switches to another application and back, the
Error dialog can disappear (it is under the Merge dialog in the UI).
The mouse cannot clear this up (although the keyboard 'enter' or
'Esc' keys will be directed to the Error dialog and close everything.
This commit is contained in:
prculley 2017-01-10 09:47:55 -06:00 committed by Nick Hall
parent f46350d595
commit 3b049b5da1

View File

@ -225,6 +225,6 @@ class MergeFamily(ManagedWindow):
query.execute()
except MergeError as err:
ErrorDialog(_("Cannot merge people"), str(err),
parent=self.uistate.window)
parent=self.window)
self.uistate.set_busy_cursor(False)
self.close()