From 3cfcb2a4d68fd19f9db6ad5a6190c5556be2a9de Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Fri, 4 Oct 2024 18:49:43 -0400 Subject: [PATCH] modellist: emit dataChanged on the correct index dataChanged will not work correctly if we emit it on an old index after sorting. Signed-off-by: Jared Van Bortel --- gpt4all-chat/src/modellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-chat/src/modellist.cpp b/gpt4all-chat/src/modellist.cpp index 51af296c..17538349 100644 --- a/gpt4all-chat/src/modellist.cpp +++ b/gpt4all-chat/src/modellist.cpp @@ -1010,10 +1010,10 @@ void ModelList::updateDataInternal(const QString &id, const QVector