Skip to content
Snippets Groups Projects
Verified Commit 13a54064 authored by Sateallia's avatar Sateallia Committed by Nicolas Werner
Browse files

Focus to the message input bar after dragging and dropping a file

parent 24389f36
No related branches found
No related tags found
No related merge requests found
Pipeline #5145 passed
......@@ -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();
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment