Skip to content

Commit

Permalink
Merge pull request #1586 from lioncash/ar
Browse files Browse the repository at this point in the history
DolphinWX: Fix button handling for AR codes and ISO patch removal.
  • Loading branch information
lioncash committed Nov 22, 2014
2 parents f8879c8 + f73b6ab commit 60e9301
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/ARCodeAddEdit.cpp
Expand Up @@ -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..");
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/ISOProperties.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 60e9301

Please sign in to comment.