Add an error message to download dialog if models.json can't be retrieved.

This commit is contained in:
Adam Treat 2023-06-20 17:31:36 -04:00
parent 968868415e
commit eebfe642c4

View File

@ -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