summaryrefslogtreecommitdiff
path: root/src/components/chatinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chatinput.cpp')
-rw-r--r--src/components/chatinput.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/chatinput.cpp b/src/components/chatinput.cpp
index 7ecd4de..fd594d2 100644
--- a/src/components/chatinput.cpp
+++ b/src/components/chatinput.cpp
@@ -107,6 +107,8 @@ ChatInputTextContainer::ChatInputTextContainer() {
m_upload_ev.signal_button_press_event().connect([this](GdkEventButton *ev) -> bool {
if (ev->button == GDK_BUTTON_PRIMARY) {
ShowFileChooser();
+ // return focus
+ m_input.grab_focus();
return true;
}
return false;