Focus to the message input bar after dragging and dropping a file
This commit is contained in:
parent
24389f36f8
commit
13a540646f
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user