save label setting
This commit is contained in:
parent
6f43c40a1b
commit
03b67b0bf1
@ -75,6 +75,8 @@ function startupFunction() {
|
||||
console.log("Updating new high score...");
|
||||
settings.setValue("bestScore", bestScore);
|
||||
}
|
||||
if (label !== settings.value("label", "2048"))
|
||||
settings.setValue("label", label);
|
||||
|
||||
console.log("Started a new game");
|
||||
}
|
||||
@ -465,5 +467,7 @@ function cleanUpAndQuit() {
|
||||
console.log("Updating new high score...");
|
||||
settings.setValue("bestScore", bestScore);
|
||||
}
|
||||
if (label !== settings.value("label", "2048"))
|
||||
settings.setValue("label", label);
|
||||
Qt.quit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user