mirror of https://github.com/procxx/kepka.git
Cancel empty reply by Escape.
This commit is contained in:
parent
060cdfea86
commit
bda39cc6f6
|
@ -6229,6 +6229,8 @@ void HistoryWidget::confirmDeleteSelected() {
|
|||
void HistoryWidget::onListEscapePressed() {
|
||||
if (_nonEmptySelection && _list) {
|
||||
clearSelected();
|
||||
} else if (_replyToId && _field->getTextWithTags().text.isEmpty()) {
|
||||
cancelReply();
|
||||
} else {
|
||||
onCancel();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue