Merge pull request #1586 from lioncash/ar
DolphinWX: Fix button handling for AR codes and ISO patch removal.
This commit is contained in:
commit
60e9301f40
|
@ -33,7 +33,7 @@ CARCodeAddEdit::CARCodeAddEdit(int _selection, wxWindow* parent, wxWindowID id,
|
|||
: wxDialog(parent, id, title, position, size, style)
|
||||
, selection(_selection)
|
||||
{
|
||||
Bind(wxEVT_BUTTON, &CARCodeAddEdit::SaveCheatData, this);
|
||||
Bind(wxEVT_BUTTON, &CARCodeAddEdit::SaveCheatData, this, wxID_OK);
|
||||
|
||||
ActionReplay::ARCode tempEntries;
|
||||
wxString currentName = _("Insert name here..");
|
||||
|
|
|
@ -1377,7 +1377,7 @@ void CISOProperties::PatchButtonClicked(wxCommandEvent& event)
|
|||
break;
|
||||
case ID_REMOVEPATCH:
|
||||
onFrame.erase(onFrame.begin() + Patches->GetSelection());
|
||||
Patches->Delete(Cheats->GetSelection());
|
||||
Patches->Delete(Patches->GetSelection());
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue