Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim
Commits:
cc42fba0 by Philipp Hörist at 2017-06-08T23:23:37+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
@@ -369,8 +369,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/cc42fba09bcf837042e5bd72c81f1448738b1617
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits