Merge pull request #4126 from aldelaro5/debugger-pause-button-fix

Fix the pause/play toolbar button not updating when reaching a breakp…
This commit is contained in:
Anthony 2016-09-08 20:10:19 -05:00 committed by GitHub
commit 145ebd34e2
1 changed files with 2 additions and 0 deletions

View File

@ -150,6 +150,8 @@ void CCodeWindow::OnHostMessage(wxCommandEvent& event)
Update(); Update();
if (codeview) if (codeview)
codeview->Center(PC); codeview->Center(PC);
if (CPU::IsStepping())
Parent->UpdateGUI();
if (m_RegisterWindow) if (m_RegisterWindow)
m_RegisterWindow->NotifyUpdate(); m_RegisterWindow->NotifyUpdate();
if (m_WatchWindow) if (m_WatchWindow)