mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-21 18:41:59 +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
|
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 {
|
ScrollView {
|
||||||
id: scrollView
|
id: scrollView
|
||||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
||||||
|
Loading…
Reference in New Issue
Block a user