diff --git a/Windows/Debugger/Debugger_Lists.cpp b/Windows/Debugger/Debugger_Lists.cpp index fef3094ee4..fc451a0e90 100644 --- a/Windows/Debugger/Debugger_Lists.cpp +++ b/Windows/Debugger/Debugger_Lists.cpp @@ -567,7 +567,7 @@ void CtrlBreakpointList::showBreakpointMenu(int itemIndex, const POINT &pt) } break; case ID_DISASM_EDITBREAKPOINT: - editBreakpoint(index); + editBreakpoint(itemIndex); break; case ID_DISASM_ADDNEWBREAKPOINT: {