Add "Add new" option to right click menu when clicking on a breakpoint

This commit is contained in:
Kingcom committed 2013-07-31 20:36:58 +02:00
1 parent 0767abd1d0
commit deb66921d7
2 files changed
+8

No files matched your search

+6
View File
@@ -701,6 +701,12 @@ void CtrlBreakpointList::showBreakpointMenu(int itemIndex, const POINT &pt)
case ID_DISASM_EDITBREAKPOINT:
editBreakpoint(index);
break;
case ID_DISASM_ADDNEWBREAKPOINT:
{
BreakpointWindow bpw(wnd,cpu);
if (bpw.exec()) bpw.addBreakpoint();
}
break;
}
}
}