diff options
| author | Tannin <devnull@localhost> | 2013-11-11 23:19:54 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-11-11 23:19:54 +0100 |
| commit | 75475a7984466afd1cf77f2e4a9f722c0a859404 (patch) | |
| tree | 77cbca3ffc277c24707c28b62081df4bdd7f2739 /src/modlist.cpp | |
| parent | 315ed6e41afb8ddd753fed9c8d0163cdb7c86831 (diff) | |
- started qbs based project files (not functional yet)
- modlist will now updated immediately after a change throw the modinfo dialog
- bugfix: configurator wasn't able to save after revision 137
Diffstat (limited to 'src/modlist.cpp')
| -rw-r--r-- | src/modlist.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index 446946dc..eac02372 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -564,6 +564,9 @@ void ModList::modInfoChanged(ModInfo::Ptr info) if (m_ChangeInfo.state != newState) { m_ModStateChanged(info->name(), newState); } + int row = ModInfo::getIndex(info->name()); + info->testValid(); + emit dataChanged(index(row, 0), index(row, columnCount())); } else { qCritical("modInfoChanged not called after modInfoAboutToChange"); } |
