mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
@@ -531,7 +531,7 @@ void RepliesWidget::setupComposeControls() {
|
||||
//if (const auto item = messages.lastSentMessage(_history)) {
|
||||
// _inner->editMessageRequestNotify(item->fullId());
|
||||
//} else {
|
||||
// _scroll->keyPressEvent(e);
|
||||
_scroll->keyPressEvent(e);
|
||||
//}
|
||||
} else {
|
||||
_scroll->keyPressEvent(e);
|
||||
@@ -540,6 +540,12 @@ void RepliesWidget::setupComposeControls() {
|
||||
} else if (e->key() == Qt::Key_Down) {
|
||||
_scroll->keyPressEvent(e);
|
||||
e->accept();
|
||||
} else if (e->key() == Qt::Key_PageDown) {
|
||||
_scroll->keyPressEvent(e);
|
||||
e->accept();
|
||||
} else if (e->key() == Qt::Key_PageUp) {
|
||||
_scroll->keyPressEvent(e);
|
||||
e->accept();
|
||||
}
|
||||
}, lifetime());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user