From 54f931e651065ec484da354c12f44da93f58c828 Mon Sep 17 00:00:00 2001 From: Adam Diffin Date: Sat, 25 Feb 2017 22:59:24 +0000 Subject: [PATCH] Fixed the remove and add buttons not disabling after removing a code. --- Source/Core/DolphinWX/Cheats/ActionReplayCodesPanel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/Cheats/ActionReplayCodesPanel.cpp b/Source/Core/DolphinWX/Cheats/ActionReplayCodesPanel.cpp index 7d03372ab1..e0b8cf19c6 100644 --- a/Source/Core/DolphinWX/Cheats/ActionReplayCodesPanel.cpp +++ b/Source/Core/DolphinWX/Cheats/ActionReplayCodesPanel.cpp @@ -288,4 +288,6 @@ void ActionReplayCodesPanel::OnRemoveCodeClick(wxCommandEvent&) m_codes.erase(m_codes.begin() + idx); m_checklist_cheats->Delete(idx); m_was_modified = true; + + UpdateModifyButtons(); }