mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Added Page Up / Down keys to calendar box.
This commit is contained in:
@@ -1105,9 +1105,13 @@ void CalendarBox::keyPressEvent(QKeyEvent *e) {
|
||||
jump(_previous.data());
|
||||
} else if (e->key() == Qt::Key_End) {
|
||||
jump(_next.data());
|
||||
} else if (e->key() == Qt::Key_Left || e->key() == Qt::Key_Up) {
|
||||
} else if (e->key() == Qt::Key_Left
|
||||
|| e->key() == Qt::Key_Up
|
||||
|| e->key() == Qt::Key_PageUp) {
|
||||
goPreviousMonth();
|
||||
} else if (e->key() == Qt::Key_Right || e->key() == Qt::Key_Down) {
|
||||
} else if (e->key() == Qt::Key_Right
|
||||
|| e->key() == Qt::Key_Down
|
||||
|| e->key() == Qt::Key_PageDown) {
|
||||
goNextMonth();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user