diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-01-22 13:26:52 +0100 |
|---|---|---|
| committer | Al <gabriel.cortesi@outlook.com> | 2019-01-22 13:26:52 +0100 |
| commit | 917c08cd5f87bd06e872b6fb99e00cb5ef5d0066 (patch) | |
| tree | ba0bb0dee06488087e976a9be14cecc806bedf75 /src/mainwindow.cpp | |
| parent | 11b2e0fe34e5029ab5ffc00d0cebc59bf286b7a8 (diff) | |
Fixed a crash with "Disable Selected" while in "checked" filter and similar cases
Diffstat (limited to 'src/mainwindow.cpp')
| -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 7f79cb0e..df78df82 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -5020,12 +5020,18 @@ void MainWindow::sendSelectedPluginsToPriority_clicked() void MainWindow::enableSelectedMods_clicked()
{
m_OrganizerCore.modList()->enableSelected(ui->modList->selectionModel());
+ if (m_ModListSortProxy != nullptr) {
+ m_ModListSortProxy->invalidate();
+ }
}
void MainWindow::disableSelectedMods_clicked()
{
m_OrganizerCore.modList()->disableSelected(ui->modList->selectionModel());
+ if (m_ModListSortProxy != nullptr) {
+ m_ModListSortProxy->invalidate();
+ }
}
|
