From 48fc724a0dba83874b431bd3f90ed061db64b3f7 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Tue, 29 Dec 2020 12:15:40 +0100 Subject: Remove non-necessary refresh() of the proxy on mod installed. --- src/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mainwindow.cpp') 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)); } -- cgit v1.3.1