Commit ea04aa93 authored by hjk's avatar hjk Committed by hjk

debugger: fix regression in breakpoint context menu

Task-number: QTCREATORBUG-6790
Change-Id: Id09d6f4ad20b9fa0f4b08ad61715ea963d639f5c
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 109adeb1
......@@ -1876,6 +1876,8 @@ void DebuggerPluginPrivate::requestContextMenu(ITextEditor *editor,
args.fileName = editor->file()->fileName();
id = breakHandler()
->findBreakpointByFileAndLine(args.fileName, lineNumber);
if (!id)
id = breakHandler()->findBreakpointByFileAndLine(args.fileName, lineNumber, false);
}
if (id) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment