diff options
Diffstat (limited to 'src/organizercore.cpp')
| -rw-r--r-- | src/organizercore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp index 28bb06db..815c80c2 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -1552,6 +1552,9 @@ void OrganizerCore::modStatusChanged(unsigned int index) m_DirectoryStructure->getFileRegister()->sortOrigins(); refreshLists(); + + m_ModList.notifyModStateChanged({ index }); + } catch (const std::exception &e) { reportError(tr("failed to update mod list: %1").arg(e.what())); } @@ -1601,6 +1604,8 @@ void OrganizerCore::modStatusChanged(QList<unsigned int> index) { m_DirectoryStructure->getFileRegister()->sortOrigins(); refreshLists(); + + m_ModList.notifyModStateChanged(index); } catch (const std::exception &e) { reportError(tr("failed to update mod list: %1").arg(e.what())); } |
