add space/backspace as pager keys for reslist
This commit is contained in:
parent
ee63f15526
commit
9f14bf317c
@ -265,10 +265,10 @@ void ResList::keyPressEvent(QKeyEvent * e)
|
|||||||
if (e->key() == Qt::Key_Q && (e->state() & Qt::ControlButton)) {
|
if (e->key() == Qt::Key_Q && (e->state() & Qt::ControlButton)) {
|
||||||
recollNeedsExit = 1;
|
recollNeedsExit = 1;
|
||||||
return;
|
return;
|
||||||
} else if (e->key() == Qt::Key_Prior) {
|
} else if (e->key() == Qt::Key_Prior || e->key() == Qt::Key_Backspace) {
|
||||||
resPageUpOrBack();
|
resPageUpOrBack();
|
||||||
return;
|
return;
|
||||||
} else if (e->key() == Qt::Key_Next) {
|
} else if (e->key() == Qt::Key_Next || e->key() == Qt::Key_Space) {
|
||||||
resPageDownOrNext();
|
resPageDownOrNext();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user