mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
[Debugger] CTRL+G support in code and memory view
This commit is contained in:
@ -361,6 +361,8 @@ void MemoryWidget::ConnectWidgets()
|
||||
connect(m_bp_log_check, &QCheckBox::toggled, this, &MemoryWidget::OnBPLogChanged);
|
||||
connect(m_memory_view, &MemoryViewWidget::ShowCode, this, &MemoryWidget::ShowCode);
|
||||
connect(m_memory_view, &MemoryViewWidget::RequestWatch, this, &MemoryWidget::RequestWatch);
|
||||
connect(m_memory_view, &MemoryViewWidget::ActivateSearch, this,
|
||||
&MemoryWidget::ActivateSearchAddress);
|
||||
}
|
||||
|
||||
void MemoryWidget::closeEvent(QCloseEvent*)
|
||||
@ -565,6 +567,12 @@ void MemoryWidget::SetAddress(u32 address)
|
||||
m_memory_view->setFocus();
|
||||
}
|
||||
|
||||
void MemoryWidget::ActivateSearchAddress()
|
||||
{
|
||||
m_search_address->setFocus();
|
||||
m_search_address->lineEdit()->selectAll();
|
||||
}
|
||||
|
||||
void MemoryWidget::OnSearchAddress()
|
||||
{
|
||||
const auto target_addr = GetTargetAddress();
|
||||
|
Reference in New Issue
Block a user