summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-29 12:15:40 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:16 +0100
commit48fc724a0dba83874b431bd3f90ed061db64b3f7 (patch)
treed6d823b96ac6a85ea5f93a81c4dc6ba9b5a477f6
parentd979e60aed14b368ac9badf0b88c06f61c17893b (diff)
Remove non-necessary refresh() of the proxy on mod installed.
-rw-r--r--src/mainwindow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 1891e496..d083330f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2501,7 +2501,6 @@ void MainWindow::modInstalled(const QString &modName)
QModelIndex qIndex = m_OrganizerCore.modList()->index(index, 0);
if (m_ModListSortProxy->sourceModel() == m_ModListByPriorityProxy) {
- m_ModListByPriorityProxy->refresh();
qIndex = m_ModListByPriorityProxy->mapFromSource(qIndex);
ui->modList->expand(m_ModListSortProxy->mapFromSource(qIndex));
}