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:
@ -123,6 +123,11 @@ public:
|
||||
case Qt::Key_PageDown:
|
||||
m_view->m_address += this->rowCount() * m_view->m_bytes_per_row;
|
||||
break;
|
||||
case Qt::Key_G:
|
||||
if (event->modifiers() == Qt::ControlModifier)
|
||||
{
|
||||
m_view->TriggerActivateSearch();
|
||||
}
|
||||
default:
|
||||
QWidget::keyPressEvent(event);
|
||||
return;
|
||||
@ -252,6 +257,11 @@ void MemoryViewWidget::UpdateFont(const QFont& font)
|
||||
UpdateDispatcher(UpdateType::Full);
|
||||
}
|
||||
|
||||
void MemoryViewWidget::TriggerActivateSearch()
|
||||
{
|
||||
emit ActivateSearch();
|
||||
}
|
||||
|
||||
constexpr int GetTypeSize(MemoryViewWidget::Type type)
|
||||
{
|
||||
switch (type)
|
||||
|
Reference in New Issue
Block a user