From 224370e866a565d020177d60cda988dfbe5f6f14 Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Thu, 4 Feb 2016 18:56:40 +0000 Subject: [PATCH] debugger: Fix breakpoint window list item deletion Fixes #1163. --- pcsx2/gui/Debugger/DebuggerLists.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pcsx2/gui/Debugger/DebuggerLists.cpp b/pcsx2/gui/Debugger/DebuggerLists.cpp index f92b981a78..18df9dca53 100644 --- a/pcsx2/gui/Debugger/DebuggerLists.cpp +++ b/pcsx2/gui/Debugger/DebuggerLists.cpp @@ -81,10 +81,6 @@ void GenericListView::keydownEvent(wxKeyEvent& evt) int sel = GetFirstSelected(); switch (evt.GetKeyCode()) { - case WXK_DELETE: - if (sel+1 == GetItemCount()) - Select(sel-1); - break; case WXK_UP: if (sel > 0) Select(sel-1);