mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Added shortcut to open dialog for attachements.
This commit is contained in:
parent
4169927d83
commit
e966213ff8
1 changed files with 2 additions and 0 deletions
|
@ -5351,6 +5351,8 @@ void HistoryWidget::keyPressEvent(QKeyEvent *e) {
|
|||
}
|
||||
} else if (e->key() == Qt::Key_Return || e->key() == Qt::Key_Enter) {
|
||||
onListEnterPressed();
|
||||
} else if (e->key() == Qt::Key_O && e->modifiers() == Qt::ControlModifier) {
|
||||
chooseAttach();
|
||||
} else {
|
||||
e->ignore();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue