diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-10 19:31:29 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-10 19:31:29 +0100 |
| commit | 8115335c55c229b8da741dfb075e240334d2f0ab (patch) | |
| tree | a78ae67e67c711b2c7f9e45fbcaa5473fc19221f /src/modlistview.cpp | |
| parent | 32e441897fb5dc5d49764c8ce2cb8b3475bcdd20 (diff) | |
Request window focus when dropping external archive.
Diffstat (limited to 'src/modlistview.cpp')
| -rw-r--r-- | src/modlistview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modlistview.cpp b/src/modlistview.cpp index 13c34226..2fde97f6 100644 --- a/src/modlistview.cpp +++ b/src/modlistview.cpp @@ -820,6 +820,7 @@ void ModListView::setup(OrganizerCore& core, CategoryFactory& factory, MainWindo m_core->installDownload(row, priority);
});
connect(m_core->modList(), &ModList::externalArchiveDropped, [=](const QUrl& url, int priority) {
+ setWindowState(Qt::WindowActive);
m_core->installArchive(url.toLocalFile(), priority, false, nullptr);
});
connect(m_core->modList(), &ModList::externalFolderDropped, this, &ModListView::onExternalFolderDropped);
|
