Philipp Hörist pushed to branch master at gajim / gajim

Commits:
c8115e41 by Philipp Hörist at 2017-06-08T23:34:03+02:00
Set transient for ErrorDialog

Fixes #8649

- - - - -


1 changed file:

- src/adhoc_commands.py


Changes:

=====================================
src/adhoc_commands.py
=====================================
--- 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'



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/c8115e4164496da3527486507cb0c0acb8000b39
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to