mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-18 17:32:00 +00:00
Revert "modellist: work around filtered item models getting out of sync (#2545)"
This is what caused regression seen in issue #2943
This reverts commit 30692a2dfc
.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
cd3d06c6db
commit
158f9b9ee7
@ -1010,12 +1010,6 @@ void ModelList::updateData(const QString &id, const QVector<QPair<int, QVariant>
|
||||
}
|
||||
}
|
||||
emit dataChanged(createIndex(index, 0), createIndex(index, 0));
|
||||
|
||||
// FIXME(jared): for some reason these don't update correctly when the source model changes, so we explicitly invalidate them
|
||||
m_selectableModels->invalidate();
|
||||
m_installedModels->invalidate();
|
||||
m_downloadableModels->invalidate();
|
||||
|
||||
emit selectableModelListChanged();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user