Fix settings not being saved when removing a cheat (#672)

* save settings after removing a cheat

* Commit from GitHub Actions (Minify Code)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Mickaël Laurent 2023-09-17 22:09:14 +02:00 committed by GitHub
parent 8eb21a25fd
commit 4e8d11ece7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -4667,6 +4667,7 @@ class EmulatorJS {
this.cheatChanged(false, code, getIndex(desc, code));
this.cheats.splice(getIndex(desc, code), 1);
row.remove();
this.saveSettings();
})
this.elements.cheatRows.appendChild(row);

File diff suppressed because one or more lines are too long