summary refs log tree commit diff
path: root/src/ui/NhekoDropArea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/NhekoDropArea.cpp')
-rw-r--r--src/ui/NhekoDropArea.cpp1
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();
         }
     }
 }