From d7708b6952969fac26fd4527325fecd63e901956 Mon Sep 17 00:00:00 2001 From: zilmar Date: Tue, 6 Feb 2018 07:04:20 +1100 Subject: [PATCH] [Debugger] Refresh breakpoints display on activate --- .../UserInterface/Debugger/Debugger-Commands.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/Project64/UserInterface/Debugger/Debugger-Commands.cpp b/Source/Project64/UserInterface/Debugger/Debugger-Commands.cpp index 61dcff941..6862825d4 100644 --- a/Source/Project64/UserInterface/Debugger/Debugger-Commands.cpp +++ b/Source/Project64/UserInterface/Debugger/Debugger-Commands.cpp @@ -1439,6 +1439,16 @@ LRESULT CDebugCommandsView::OnListBoxClicked(WORD /*wNotifyCode*/, WORD wID, HWN return FALSE; } +LRESULT CDebugCommandsView::OnActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) +{ + if (LOWORD(wParam) == WA_ACTIVE) + { + ShowAddress(m_StartAddress, TRUE); + RefreshBreakpointList(); + } + return FALSE; +} + LRESULT CDebugCommandsView::OnSizing(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) { CRect listRect;