From 5358e898c682de4ab8e94670bb990564d0d0c547 Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Thu, 11 Aug 2016 14:24:10 -0400 Subject: Fix the breakpoint list not updating after adding a memory check via the memory view. Add the CCodeWindow to the constructor of the memoryWindow so it can call the notify update of the breakpoint list. Add the case of breakpoint update when receiving an event (the update command was issued, but wasn't managed before). Run clang format and renamed the code window names. --- Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp') diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp index eac9933294..8a46245f37 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp @@ -604,7 +604,7 @@ void CCodeWindow::ToggleMemoryWindow(bool bShow) if (bShow) { if (!m_MemoryWindow) - m_MemoryWindow = new CMemoryWindow(Parent, IDM_MEMORY_WINDOW); + m_MemoryWindow = new CMemoryWindow(this, Parent, IDM_MEMORY_WINDOW); Parent->DoAddPage(m_MemoryWindow, iNbAffiliation[IDM_MEMORY_WINDOW - IDM_LOG_WINDOW], Parent->bFloatWindow[IDM_MEMORY_WINDOW - IDM_LOG_WINDOW]); } -- cgit v1.2.3