mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Fix settings not being saved when removing a cheat (#672)
* save settings after removing a cheat
This commit is contained in:
parent
d33bce1eac
commit
54aaebb168
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
2
data/emulator.min.js
vendored
2
data/emulator.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue