mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
wallet should save username when checked
This commit is contained in:
parent
db96603cda
commit
44d36ec622
1 changed files with 2 additions and 2 deletions
|
@ -242,9 +242,9 @@ Item {
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
Settings.setValue("wallet/autoLogout", !checked);
|
Settings.setValue("wallet/autoLogout", !checked);
|
||||||
if (checked) {
|
if (checked) {
|
||||||
Settings.setValue("wallet/savedUsername", "");
|
|
||||||
} else {
|
|
||||||
Settings.setValue("wallet/savedUsername", Account.username);
|
Settings.setValue("wallet/savedUsername", Account.username);
|
||||||
|
} else {
|
||||||
|
Settings.setValue("wallet/savedUsername", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue