diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-21 21:56:08 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-21 21:56:08 +0100 |
| commit | b1795f83cd500b5b58928efa5e170de8338178d5 (patch) | |
| tree | 3f79cd0a016b108e4720fd08f1f0e4b13b30a66e /src/mainwindow.cpp | |
| parent | d81fb09f33f8cd668db20b6120c481580c6c938e (diff) | |
Refresh data tab when mods are enabled or moved.
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 a79aca2f..d6391677 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -313,6 +313,12 @@ MainWindow::MainWindow(Settings &settings setupModList(); ui->espList->setup(m_OrganizerCore, this, ui); + connect(m_OrganizerCore.modList(), &ModList::modPrioritiesChanged, [this]() { + m_DataTab->updateTree(); + }); + connect(m_OrganizerCore.modList(), &ModList::modStatesChanged, [this]() { + m_DataTab->updateTree(); + }); ui->bsaList->setLocalMoveOnly(true); ui->bsaList->setHeaderHidden(true); |
