diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-11-06 19:28:07 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-11-06 19:28:07 +0300 |
commit | 0ff6b4fedc707d7775a366a6414117ebea89b357 (patch) | |
tree | 13dde535c0580139aecfed791d49b2fda4d182f3 | |
parent | 9463c829d6a04d3f219db4dad9cd86c39cc8c53d (diff) |
fix: Filetransfer: Always focus confirm button
Fixes #11672
-rw-r--r-- | gajim/gtk/chat_function_page.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gajim/gtk/chat_function_page.py b/gajim/gtk/chat_function_page.py index 6a67e2fd0..14439b3c0 100644 --- a/gajim/gtk/chat_function_page.py +++ b/gajim/gtk/chat_function_page.py @@ -240,6 +240,8 @@ class ChatFunctionPage(Gtk.Box): self._widget.focus() elif isinstance(self._widget, DataFormWidget): self._widget.focus_first_entry() + elif mode == FunctionMode.SEND_FILE: + self._confirm_button.grab_focus() def _on_client_state_changed(self, _client: types.Client, |