Focus to the message input bar after selecting a file

This commit is contained in:
Sateallia 2023-06-09 01:25:00 +00:00 committed by Nicolas Werner
parent 8112922c5f
commit 0cb3a7e4a7
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -376,6 +376,7 @@ InputBar::openFileSelection()
if (fileNames.isEmpty())
return;
ChatPage::instance()->timelineManager()->focusMessageInput();
for (const auto &fileName : fileNames)
startUploadFromPath(fileName);
}