Merge pull request #7658 from spycrab/debugger_show

Qt/Debugger: Add Show in Code / Show in Memory
This commit is contained in:
spycrab
2018-12-29 15:08:51 +01:00
committed by GitHub
9 changed files with 40 additions and 0 deletions

View File

@ -167,6 +167,7 @@ void CodeWidget::ConnectWidgets()
connect(m_code_view, &CodeViewWidget::RequestPPCComparison, this,
&CodeWidget::RequestPPCComparison);
connect(m_code_view, &CodeViewWidget::ShowMemory, this, &CodeWidget::ShowMemory);
}
void CodeWidget::OnSearchAddress()
@ -253,6 +254,12 @@ void CodeWidget::OnSelectFunctionCallers()
void CodeWidget::SetAddress(u32 address, CodeViewWidget::SetAddressUpdate update)
{
m_code_view->SetAddress(address, update);
if (update == CodeViewWidget::SetAddressUpdate::WithUpdate)
{
raise();
m_code_view->setFocus();
}
}
void CodeWidget::Update()