From 0ff6b4fedc707d7775a366a6414117ebea89b357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 6 Nov 2023 17:28:07 +0100 Subject: fix: Filetransfer: Always focus confirm button Fixes #11672 --- gajim/gtk/chat_function_page.py | 2 ++ 1 file changed, 2 insertions(+) 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, -- cgit v1.2.3