Skip to content

Commit

Permalink
Revert "modellist: work around filtered item models getting out of sy…
Browse files Browse the repository at this point in the history
…nc (#2545)"

This is what caused regression seen in issue #2943

This reverts commit 30692a2.
  • Loading branch information
manyoso committed Sep 20, 2024
1 parent 2975768 commit 4ad8242
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions gpt4all-chat/src/modellist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 4ad8242

Please sign in to comment.