mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Focus to the message input bar after selecting a file
This commit is contained in:
parent
8112922c5f
commit
0cb3a7e4a7
1 changed files with 1 additions and 0 deletions
|
@ -376,6 +376,7 @@ InputBar::openFileSelection()
|
||||||
if (fileNames.isEmpty())
|
if (fileNames.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
ChatPage::instance()->timelineManager()->focusMessageInput();
|
||||||
for (const auto &fileName : fileNames)
|
for (const auto &fileName : fileNames)
|
||||||
startUploadFromPath(fileName);
|
startUploadFromPath(fileName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue