debugger: Fix breakpoint window list item deletion

Fixes #1163.
This commit is contained in:
Jonathan Li 2016-02-04 18:56:40 +00:00
parent 98de0d4351
commit 224370e866
1 changed files with 0 additions and 4 deletions

View File

@ -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);