mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-04 02:50:36 +00:00
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
This commit is contained in:
@@ -1481,10 +1481,6 @@ void HistoryInner::keyPressEvent(QKeyEvent *e) {
|
||||
if (!_selected.isEmpty() && selectedForDelete == selectedForForward) {
|
||||
_widget->onDeleteSelected();
|
||||
}
|
||||
} else if (e->key() == Qt::Key_Return || e->key() == Qt::Key_Enter) {
|
||||
if (_selected.isEmpty()) {
|
||||
_widget->onListEnterPressed();
|
||||
}
|
||||
} else {
|
||||
e->ignore();
|
||||
}
|
||||
@@ -7216,6 +7212,8 @@ void HistoryWidget::keyPressEvent(QKeyEvent *e) {
|
||||
}
|
||||
_scroll.keyPressEvent(e);
|
||||
}
|
||||
} else if (e->key() == Qt::Key_Return || e->key() == Qt::Key_Enter) {
|
||||
onListEnterPressed();
|
||||
} else {
|
||||
e->ignore();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user