debugger_list: Fix key up/down direction

This commit is contained in:
Eladash 2023-08-31 15:29:11 +03:00 committed by Elad Ashkenazi
parent 90ad129b83
commit 26b3970485

View File

@ -328,8 +328,8 @@ void debugger_list::keyPressEvent(QKeyEvent* event)
{
case Qt::Key_PageUp: scroll(0 - m_item_count); return;
case Qt::Key_PageDown: scroll(m_item_count); return;
case Qt::Key_Up: scroll(1); return;
case Qt::Key_Down: scroll(-1); return;
case Qt::Key_Up: scroll(-1); return;
case Qt::Key_Down: scroll(1); return;
case Qt::Key_I:
{
if (event->isAutoRepeat())