mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Activate window on dropEvent.
This commit is contained in:
@@ -811,6 +811,7 @@ void DialogsWidget::dropEvent(QDropEvent *e) {
|
||||
if (auto peer = _inner->updateFromParentDrag(mapToGlobal(e->pos()))) {
|
||||
e->acceptProposedAction();
|
||||
App::main()->onFilesOrForwardDrop(peer->id, e->mimeData());
|
||||
controller()->window()->activateWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user