HStringFilterModel: Refilter when field changes

This commit is contained in:
miruka
2020-05-01 00:30:26 -04:00
parent 7418f0fe93
commit 2bb13bf7f7
3 changed files with 11 additions and 0 deletions

View File

@@ -60,7 +60,10 @@ QtObject {
// JSON.stringify(changedFields))
const model = ModelStore.get(syncId)
model.set(indexThen, changedFields)
if (indexThen !== indexNow) model.move(indexThen, indexNow, 1)
model.fieldsChanged(indexNow, changedFields)
}
}