mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-30 01:02:35 +00: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 hasShownModelDownload: false
|
||||||
|
property bool hasShownFirstStart: false
|
||||||
|
|
||||||
function startupDialogs() {
|
function startupDialogs() {
|
||||||
if (!LLM.compatHardware) {
|
if (!LLM.compatHardware) {
|
||||||
@ -97,8 +98,9 @@ Window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check for first time start of this version
|
// check for first time start of this version
|
||||||
if (Download.isFirstStart()) {
|
if (!hasShownFirstStart && Download.isFirstStart()) {
|
||||||
firstStartDialog.open();
|
firstStartDialog.open();
|
||||||
|
hasShownFirstStart = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user