mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 20:18:53 +03:00
Focus to the message input bar after dragging and dropping a file
This commit is contained in:
parent
24389f36f8
commit
13a540646f
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ NhekoDropArea::dropEvent(QDropEvent *event)
|
||||||
auto model = ChatPage::instance()->timelineManager()->rooms()->getRoomById(roomid_);
|
auto model = ChatPage::instance()->timelineManager()->rooms()->getRoomById(roomid_);
|
||||||
if (model) {
|
if (model) {
|
||||||
model->input()->insertMimeData(event->mimeData());
|
model->input()->insertMimeData(event->mimeData());
|
||||||
|
ChatPage::instance()->timelineManager()->focusMessageInput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue