Don't show the download button if we are not connected to an online network.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat
2024-02-07 09:53:14 -05:00
committed by AT
parent 4258bb1f8a
commit 260a56c748
3 changed files with 18 additions and 2 deletions

View File

@@ -869,6 +869,7 @@ Window {
MyButton {
id: downloadButton
visible: LLM.isNetworkOnline
Layout.alignment: Qt.AlignHCenter
Layout.topMargin: 40
text: qsTr("Download models")