mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-26 19:14:02 +02:00
parent
dcac3146c7
commit
4be03ffc25
1 changed files with 7 additions and 1 deletions
|
@ -531,7 +531,7 @@ void RepliesWidget::setupComposeControls() {
|
||||||
//if (const auto item = messages.lastSentMessage(_history)) {
|
//if (const auto item = messages.lastSentMessage(_history)) {
|
||||||
// _inner->editMessageRequestNotify(item->fullId());
|
// _inner->editMessageRequestNotify(item->fullId());
|
||||||
//} else {
|
//} else {
|
||||||
// _scroll->keyPressEvent(e);
|
_scroll->keyPressEvent(e);
|
||||||
//}
|
//}
|
||||||
} else {
|
} else {
|
||||||
_scroll->keyPressEvent(e);
|
_scroll->keyPressEvent(e);
|
||||||
|
@ -540,6 +540,12 @@ void RepliesWidget::setupComposeControls() {
|
||||||
} else if (e->key() == Qt::Key_Down) {
|
} else if (e->key() == Qt::Key_Down) {
|
||||||
_scroll->keyPressEvent(e);
|
_scroll->keyPressEvent(e);
|
||||||
e->accept();
|
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());
|
}, lifetime());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue