Cheats: Update Cheat Manager state on toggling cheats from the list

Fixes a visual desync of these two lists
This commit is contained in:
Silent
2021-08-25 18:59:30 +02:00
parent 6c70d7b8b3
commit c7d0df6081
4 changed files with 16 additions and 6 deletions

View File

@ -1279,6 +1279,7 @@ void QtHostInterface::setCheatEnabled(quint32 index, bool enabled)
}
SetCheatCodeState(index, enabled, g_settings.auto_load_cheats);
emit cheatEnabled(index, enabled);
}
void QtHostInterface::applyCheat(quint32 index)