Skip to content

Commit

Permalink
Focus to the message input bar after selecting a file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sateallia authored and deepbluev7 committed Jul 6, 2023
1 parent 8112922 commit 0cb3a7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/timeline/InputBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ InputBar::openFileSelection()
if (fileNames.isEmpty())
return;

ChatPage::instance()->timelineManager()->focusMessageInput();
for (const auto &fileName : fileNames)
startUploadFromPath(fileName);
}
Expand Down

0 comments on commit 0cb3a7e

Please sign in to comment.