Added shortcut to open dialog for attachements.

This commit is contained in:
23rd 2018-08-10 03:03:11 +03:00 committed by John Preston
parent 4169927d83
commit e966213ff8

View file

@ -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();
}