diff options
author | Sateallia <mail@sateallia.org> | 2023-07-09 19:00:00 +0000 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-11 20:59:46 +0200 |
commit | 13a540646f3ed5c7fe7df4396191125daef1e820 (patch) | |
tree | f9bfbff9599955f8acca75d1b99b457819fb3224 /src/ui/NhekoDropArea.cpp | |
parent | Fix chat effect particles sometimes getting 'stuck' on screen (diff) | |
download | nheko-13a540646f3ed5c7fe7df4396191125daef1e820.tar.xz |
Focus to the message input bar after dragging and dropping a file
Diffstat (limited to '')
-rw-r--r-- | src/ui/NhekoDropArea.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/NhekoDropArea.cpp b/src/ui/NhekoDropArea.cpp index 63c9aa6f..348ef5d8 100644 --- a/src/ui/NhekoDropArea.cpp +++ b/src/ui/NhekoDropArea.cpp @@ -38,6 +38,7 @@ NhekoDropArea::dropEvent(QDropEvent *event) auto model = ChatPage::instance()->timelineManager()->rooms()->getRoomById(roomid_); if (model) { model->input()->insertMimeData(event->mimeData()); + ChatPage::instance()->timelineManager()->focusMessageInput(); } } } |