diff options
| author | Silarn <jrim@rimpo.org> | 2018-05-10 11:21:27 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-05-10 11:21:27 -0500 |
| commit | aeb0b42cde85c8075918d564e8ca9e5652b2c39d (patch) | |
| tree | e12fbb38f5c190332e035888ee5a843abb04bb30 /src | |
| parent | 38391b10e968d22f0e5c731642407412178f29b5 (diff) | |
Refresh the sort proxy when the data is changed
Diffstat (limited to 'src')
| -rw-r--r-- | src/modlist.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index 2d58081d..bf57ef6e 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -699,7 +699,9 @@ void ModList::modInfoChanged(ModInfo::Ptr info) int row = ModInfo::getIndex(info->name());
info->testValid();
+ emit aboutToChangeData();
emit dataChanged(index(row, 0), index(row, columnCount()));
+ emit postDataChanged();
} else {
qCritical("modInfoChanged not called after modInfoAboutToChange");
}
|
