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:
Christian Stenger
2016-04-22 07:36:06 +02:00
parent 7158f37447
commit 1f33c0f345

View File

@@ -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();