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:
hjk
2010-10-11 10:53:20 +02:00
parent da91600bf4
commit 3cb91a1427
2 changed files with 6 additions and 8 deletions

View File

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