From 75475a7984466afd1cf77f2e4a9f722c0a859404 Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 11 Nov 2013 23:19:54 +0100 Subject: - 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 --- src/modlist.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modlist.cpp') 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"); } -- cgit v1.3.1