From e9d42fba358d52eda3c070889e08f1f508e9c8da Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Tue, 11 Jul 2023 18:54:26 -0400 Subject: [PATCH] Don't show first start more than once. --- gpt4all-chat/main.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gpt4all-chat/main.qml b/gpt4all-chat/main.qml index 5bb723bc..99ba5853 100644 --- a/gpt4all-chat/main.qml +++ b/gpt4all-chat/main.qml @@ -88,6 +88,7 @@ Window { } property bool hasShownModelDownload: false + property bool hasShownFirstStart: false function startupDialogs() { if (!LLM.compatHardware) { @@ -97,8 +98,9 @@ Window { } // check for first time start of this version - if (Download.isFirstStart()) { + if (!hasShownFirstStart && Download.isFirstStart()) { firstStartDialog.open(); + hasShownFirstStart = true; return; }