diff options
| author | Silarn <jrim@rimpo.org> | 2018-04-08 03:58:08 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-04-08 03:58:08 -0500 |
| commit | 0f8852f487cb1f8b993141042da4196db965e038 (patch) | |
| tree | ebbe960383777be45ec57a8ae5842c8b9417e8ad /src/mainwindow.cpp | |
| parent | 7eba6837dd65eb0e5f3b9f71e67e82fe553a56a6 (diff) | |
Also mark hidden downloads as uninstalled; refresh plugins after files
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d9d83231..48a09718 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1980,6 +1980,7 @@ void MainWindow::directory_refreshed() refreshDataTree();
updateProblemsButton();
statusBar()->hide();
+ m_OrganizerCore.refreshESPList();
}
void MainWindow::modorder_changed()
@@ -2307,10 +2308,7 @@ void MainWindow::removeMod_clicked() void MainWindow::modRemoved(const QString &fileName)
{
if (!fileName.isEmpty() && !QFileInfo(fileName).isAbsolute()) {
- int index = m_OrganizerCore.downloadManager()->indexByName(fileName);
- if (index >= 0) {
- m_OrganizerCore.downloadManager()->markUninstalled(index);
- }
+ m_OrganizerCore.downloadManager()->markUninstalled(fileName);
}
}
|
