diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-02-10 00:44:02 +0100 |
|---|---|---|
| committer | Al <gabriel.cortesi@outlook.com> | 2019-02-10 00:44:02 +0100 |
| commit | 5767e27925d5576c140cc7d456cd63ef05e659dc (patch) | |
| tree | 29c6daa3659e27f635ae30e2b14319f59c0414fa /src | |
| parent | 98683eca6f4b2668de875c14986657764e1123c7 (diff) | |
Fixed crash when "Update" filter is selected and multiple mods are ignored for update.
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index fe39e023..e00fac15 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -4025,6 +4025,9 @@ void MainWindow::ignoreUpdate() { ModInfo::Ptr info = ModInfo::getByIndex(m_ContextRow);
info->ignoreUpdate(true);
}
+ if (m_ModListSortProxy != nullptr) {
+ m_ModListSortProxy->invalidate();
+ }
}
void MainWindow::unignoreUpdate()
@@ -4040,6 +4043,9 @@ void MainWindow::unignoreUpdate() ModInfo::Ptr info = ModInfo::getByIndex(m_ContextRow);
info->ignoreUpdate(false);
}
+ if (m_ModListSortProxy != nullptr) {
+ m_ModListSortProxy->invalidate();
+ }
}
void MainWindow::addPrimaryCategoryCandidates(QMenu *primaryCategoryMenu,
|
