From 1f33c0f34579c44e7dc99f2984c9592b45924385 Mon Sep 17 00:00:00 2001
From: Christian Stenger <christian.stenger@theqtcompany.com>
Date: Fri, 22 Apr 2016 07:36:06 +0200
Subject: [PATCH] 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>
---
 src/plugins/debugger/breakhandler.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index 207cddbf27f..e2acf17d6c1 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -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();
-- 
GitLab