summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r--src/plugins/debugger/breakhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index 9ac8b0bfb4..8befb49f8e 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -1302,7 +1302,7 @@ void BreakpointItem::setState(BreakpointState state)
m_state = state;
// FIXME: updateMarker() should recognize the need for icon changes.
- if (state == BreakpointInserted) {
+ if (state == BreakpointInserted || state == BreakpointInsertionRequested) {
destroyMarker();
updateMarker();
}