mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-09-19 23:35:41 +00:00
Add an error message to download dialog if models.json can't be retrieved.
This commit is contained in:
parent
968868415e
commit
eebfe642c4
@ -55,6 +55,13 @@ Dialog {
|
||||
color: theme.textColor
|
||||
}
|
||||
|
||||
Label {
|
||||
visible: !Download.modelList.length
|
||||
anchors.centerIn: parent
|
||||
text: qsTr("Network error: could not retrieve http://gpt4all.io/models/models.json")
|
||||
color: theme.mutedTextColor
|
||||
}
|
||||
|
||||
ScrollView {
|
||||
id: scrollView
|
||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
||||
|
Loading…
Reference in New Issue
Block a user