mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +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: {
|
||||
Settings.setValue("wallet/autoLogout", !checked);
|
||||
if (checked) {
|
||||
Settings.setValue("wallet/savedUsername", "");
|
||||
} else {
|
||||
Settings.setValue("wallet/savedUsername", Account.username);
|
||||
} else {
|
||||
Settings.setValue("wallet/savedUsername", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue