diff --git a/Source/Core/DolphinWX/ISOProperties.cpp b/Source/Core/DolphinWX/ISOProperties.cpp index f2d0a501ae..c59a9b2d63 100644 --- a/Source/Core/DolphinWX/ISOProperties.cpp +++ b/Source/Core/DolphinWX/ISOProperties.cpp @@ -1328,7 +1328,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; }