Don't show first start more than once.

This commit is contained in:
Adam Treat 2023-07-11 18:54:26 -04:00
parent 8a31239e90
commit e9d42fba35

View File

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