mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-18 11:23:38 +00:00
Cheat codes: Make newly added codes start disabled.
They don't have the call to be activated immediately after being added.
This commit is contained in:
parent
02db73c8dc
commit
8843c14fba
@ -279,7 +279,7 @@ void ARCodeWidget::AddCode(ActionReplay::ARCode code)
|
||||
void ARCodeWidget::OnCodeAddClicked()
|
||||
{
|
||||
ActionReplay::ARCode ar;
|
||||
ar.enabled = true;
|
||||
ar.enabled = false;
|
||||
|
||||
m_cheat_code_editor->SetARCode(&ar);
|
||||
if (m_cheat_code_editor->exec() == QDialog::Rejected)
|
||||
|
||||
@ -218,7 +218,7 @@ void GeckoCodeWidget::OnItemChanged(QListWidgetItem* item)
|
||||
void GeckoCodeWidget::AddCode()
|
||||
{
|
||||
Gecko::GeckoCode code;
|
||||
code.enabled = true;
|
||||
code.enabled = false;
|
||||
|
||||
m_cheat_code_editor->SetGeckoCode(&code);
|
||||
if (m_cheat_code_editor->exec() == QDialog::Rejected)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user