forked from qt-creator/qt-creator
Debugger/Utils: Fix index passing of ItemViewEvents
... are restore 4.1 double click behavior in breakpoint view. Change-Id: If211b9708c0173e940e4b02a9b7b27f4ed78c868 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -1938,6 +1938,8 @@ bool BreakHandler::setData(const QModelIndex &idx, const QVariant &value, int ro
|
||||
if (Breakpoint b = findBreakpointByIndex(idx)) {
|
||||
if (idx.column() >= BreakpointAddressColumn)
|
||||
editBreakpoints({ b }, ev.view());
|
||||
else
|
||||
b.gotoLocation();
|
||||
} else {
|
||||
addBreakpoint();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user