summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSateallia <mail@satealliasdomain.net>2023-06-09 01:25:00 +0000
committerNicolas Werner <nicolas.werner@hotmail.de>2023-07-06 20:55:33 +0200
commit0cb3a7e4a727bf99df5dc4b5dc587af0c578ae79 (patch)
treedd18158bc653c1c967739db26bf5d777a86532ee /src
parentMerge pull request #1501 from Nheko-Reborn/qmlRecaptcha (diff)
downloadnheko-0cb3a7e4a727bf99df5dc4b5dc587af0c578ae79.tar.xz
Focus to the message input bar after selecting a file
Diffstat (limited to 'src')
-rw-r--r--src/timeline/InputBar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index a59bc4c6..a371e2b4 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -376,6 +376,7 @@ InputBar::openFileSelection()
     if (fileNames.isEmpty())
         return;
 
+    ChatPage::instance()->timelineManager()->focusMessageInput();
     for (const auto &fileName : fileNames)
         startUploadFromPath(fileName);
 }