diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-06-09 00:23:37 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-06-09 00:34:03 +0300 |
commit | c8115e4164496da3527486507cb0c0acb8000b39 (patch) | |
tree | ef1544e8a2e4f543a3d6c25cedd987510a3b9443 /src | |
parent | 2296e75d0dbc23816bcd2e7e662315c7b92c537a (diff) |
Set transient for ErrorDialog
Fixes #8649
Diffstat (limited to 'src')
-rw-r--r-- | src/adhoc_commands.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/adhoc_commands.py b/src/adhoc_commands.py index d850bc86c..1e427ddd0 100644 --- a/src/adhoc_commands.py +++ b/src/adhoc_commands.py @@ -367,8 +367,10 @@ class CommandWindow: if self.data_form_widget.get_data_form(): df = self.data_form_widget.get_data_form() if not df.is_valid(): - dialogs.ErrorDialog(_('Invalid Form'), - _('The form is not filled correctly.')) + dialogs.ErrorDialog( + _('Invalid Form'), + _('The form is not filled correctly.'), + transient_for=self.window) self.data_form_widget.set_sensitive(True) return self.data_form_widget.data_form.type_ = 'submit' |