mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
Debugger: Fix scrolling using PageUp, PageDown, KeyUp, KeyDown
This commit is contained in:
parent
c5aebe4564
commit
6f42297b58
1 changed files with 4 additions and 4 deletions
|
@ -153,10 +153,10 @@ void debugger_list::keyPressEvent(QKeyEvent* event)
|
||||||
|
|
||||||
switch (event->key())
|
switch (event->key())
|
||||||
{
|
{
|
||||||
case Qt::Key_PageUp: ShowAddress(m_pc - (m_item_count * 2) * 4); return;
|
case Qt::Key_PageUp: ShowAddress(m_pc - (m_item_count * 4), true); return;
|
||||||
case Qt::Key_PageDown: ShowAddress(m_pc); return;
|
case Qt::Key_PageDown: ShowAddress(m_pc + (m_item_count * 4), true); return;
|
||||||
case Qt::Key_Up: ShowAddress(m_pc - (m_item_count + 1) * 4); return;
|
case Qt::Key_Up: ShowAddress(m_pc - 4, true); return;
|
||||||
case Qt::Key_Down: ShowAddress(m_pc - (m_item_count - 1) * 4); return;
|
case Qt::Key_Down: ShowAddress(m_pc + 4, true); return;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue