Fixed the remove and add buttons not disabling after removing a code.
This commit is contained in:
parent
51136681df
commit
54f931e651
|
@ -288,4 +288,6 @@ void ActionReplayCodesPanel::OnRemoveCodeClick(wxCommandEvent&)
|
||||||
m_codes.erase(m_codes.begin() + idx);
|
m_codes.erase(m_codes.begin() + idx);
|
||||||
m_checklist_cheats->Delete(idx);
|
m_checklist_cheats->Delete(idx);
|
||||||
m_was_modified = true;
|
m_was_modified = true;
|
||||||
|
|
||||||
|
UpdateModifyButtons();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue