forked from qt-creator/qt-creator
debugger: Fix state of breakpoint marker when disabling it using the breakpoint view
There was not updated cached state within the marker object. Reviewed-by: Friedemann Kleint Task: QTCREATORBUG-2544
This commit is contained in:
@@ -584,6 +584,7 @@ void BreakHandler::toggleBreakpointEnabled(BreakpointData *data)
|
||||
m_enabled.removeAll(data);
|
||||
m_disabled.append(data);
|
||||
}
|
||||
data->removeMarker(); // Force icon update.
|
||||
data->updateMarker();
|
||||
emit layoutChanged();
|
||||
m_engine->attemptBreakpointSynchronization();
|
||||
|
||||
Reference in New Issue
Block a user