Fix right click->edit breakpoint

Wrong index variable caused this to edit the wrong breakpoint when there were both memory and execute breakpoint.