mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Don't show first start more than once.
This commit is contained in:
parent
8a31239e90
commit
e9d42fba35
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user