diff --git a/gpt4all-chat/modellist.cpp b/gpt4all-chat/modellist.cpp index ed8cd63c..3312c82d 100644 --- a/gpt4all-chat/modellist.cpp +++ b/gpt4all-chat/modellist.cpp @@ -980,6 +980,12 @@ void ModelList::updateData(const QString &id, const QVector } } 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 userDefaultModelListChanged(); }