[Debugger] CTRL+G support in code and memory view
This commit is contained in:
1 parent
1981f22228
commit
1b87ea83e6
8 files changed
+35
No files matched your search
@@ -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