summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-11-22 17:25:14 -0500
committerLioncash <mathew1800@gmail.com>2014-11-22 17:25:14 -0500
commitf73b6abdf53d82f123b23331ae40da2f35da725e (patch)
tree4ab9f1e7ed775272282ee1539ae62723f927a216 /Source/Core
parentbe2331b6f15186d09fc7f9ffa3dd0e182fa8bc2c (diff)
DolphinWX: Fix patch removal
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/ISOProperties.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}