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

* save settings after removing a cheat
This commit is contained in:
Mickaël Laurent 2023-09-17 22:09:14 +02:00
parent d33bce1eac
commit 54aaebb168
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.cheatChanged(false, code, getIndex(desc, code));
this.cheats.splice(getIndex(desc, code), 1); this.cheats.splice(getIndex(desc, code), 1);
row.remove(); row.remove();
this.saveSettings();
}) })
this.elements.cheatRows.appendChild(row); this.elements.cheatRows.appendChild(row);

File diff suppressed because one or more lines are too long