forked from qt-creator/qt-creator
Debugger: Fix breakpoint dialog.
Update model once a breakpoint is added, set initial state of dialog.
This commit is contained in:
@@ -832,9 +832,15 @@ void BreakHandler::appendBreakpoint(const BreakpointParameters &data)
|
||||
item.data = data;
|
||||
item.response.fileName = data.fileName;
|
||||
item.response.lineNumber = data.lineNumber;
|
||||
|
||||
const int row = m_storage.size();
|
||||
beginInsertRows(QModelIndex(), row, row);
|
||||
m_storage.insert(id, item);
|
||||
endInsertRows();
|
||||
|
||||
updateMarker(id);
|
||||
scheduleSynchronization();
|
||||
|
||||
}
|
||||
|
||||
void BreakHandler::saveSessionData()
|
||||
|
||||
Reference in New Issue
Block a user