[Debugger] CTRL+G support in code and memory view

This commit is contained in:
Nitch2024 2025-03-29 12:43:15 -07:00
parent 1981f22228
commit 1b87ea83e6
8 changed files with 35 additions and 0 deletions

View file

@ -212,6 +212,7 @@ void CodeWidget::ConnectWidgets()
connect(m_code_view, &CodeViewWidget::RequestPPCComparison, this,
&CodeWidget::RequestPPCComparison);
connect(m_code_view, &CodeViewWidget::ShowMemory, this, &CodeWidget::ShowMemory);
connect(m_code_view, &CodeViewWidget::ActivateSearch, this, &CodeWidget::ActivateSearchAddress);
}
void CodeWidget::OnBranchWatchDialog()
@ -243,6 +244,12 @@ void CodeWidget::OnPPCSymbolsChanged()
}
}
void CodeWidget::ActivateSearchAddress()
{
m_search_address->setFocus();
m_search_address->selectAll();
}
void CodeWidget::OnSearchAddress()
{
bool good = true;