mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
#2024 Update ModelSettings.qml to default model/char settings combobox to the currently selected chat model
Signed-off-by: chrisbarrera <34655880+chrisbarrera@users.noreply.github.com>
This commit is contained in:
parent
59f99b7f21
commit
61d6765361
@ -5,6 +5,7 @@ import QtQuick.Controls.Basic
|
||||
import QtQuick.Layouts
|
||||
import modellist
|
||||
import mysettings
|
||||
import chatlistmodel
|
||||
|
||||
MySettingsTab {
|
||||
onRestoreDefaultsClicked: {
|
||||
@ -42,7 +43,7 @@ MySettingsTab {
|
||||
model: ModelList.installedModels
|
||||
valueRole: "id"
|
||||
textRole: "name"
|
||||
currentIndex: 0
|
||||
currentIndex: comboBox.indexOfValue(ChatListModel.currentChat.modelInfo.id)
|
||||
contentItem: Text {
|
||||
leftPadding: 10
|
||||
rightPadding: 20
|
||||
|
Loading…
Reference in New Issue
Block a user