2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Always call raise() before activateWindow().

This commit is contained in:
John Preston
2021-06-07 11:25:19 +04:00
parent 1886a5c4ed
commit 303ad02c61
8 changed files with 9 additions and 1 deletions

View File

@@ -1332,6 +1332,7 @@ void Widget::dropEvent(QDropEvent *e) {
controller()->content()->onFilesOrForwardDrop(
peer->id,
e->mimeData());
controller()->widget()->raise();
controller()->widget()->activateWindow();
}
}