From 0cb3a7e4a727bf99df5dc4b5dc587af0c578ae79 Mon Sep 17 00:00:00 2001 From: Sateallia Date: Fri, 9 Jun 2023 01:25:00 +0000 Subject: [PATCH] Focus to the message input bar after selecting a file --- src/timeline/InputBar.cpp | 1 + 1 file changed, 1 insertion(+) 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); }