forked from qt-creator/qt-creator
Debugger: Fix updating of disabled/enabled state of breakpoints
If had been triggered on the Breakpoints view everything was fine, but triggering on the editor this did not update the Breakpoints view. Change-Id: I7f8e672bdf0f7f00cdb11183dc5e8e0eea817884 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -820,6 +820,7 @@ void Breakpoint::setEnabled(bool on) const
|
||||
return;
|
||||
b->m_params.enabled = on;
|
||||
b->updateMarkerIcon();
|
||||
b->update();
|
||||
if (b->m_engine) {
|
||||
b->m_state = BreakpointChangeRequested;
|
||||
b->scheduleSynchronization();
|
||||
|
Reference in New Issue
Block a user