Added Esc shortcut to clear selection in section of scheduled messages.

This commit is contained in:
23rd 2020-05-19 10:54:21 +03:00 committed by John Preston
parent 41255cab44
commit bc6c01de7f
1 changed files with 4 additions and 0 deletions

View File

@ -898,6 +898,10 @@ void ScheduledWidget::listScrollTo(int top) {
}
void ScheduledWidget::listCancelRequest() {
if (_inner && !_inner->getSelectedItems().empty()) {
clearSelected();
return;
}
controller()->showBackFromStack();
}