mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Added Esc shortcut to clear selection in section of scheduled messages.
This commit is contained in:
parent
41255cab44
commit
bc6c01de7f
1 changed files with 4 additions and 0 deletions
|
@ -898,6 +898,10 @@ void ScheduledWidget::listScrollTo(int top) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScheduledWidget::listCancelRequest() {
|
void ScheduledWidget::listCancelRequest() {
|
||||||
|
if (_inner && !_inner->getSelectedItems().empty()) {
|
||||||
|
clearSelected();
|
||||||
|
return;
|
||||||
|
}
|
||||||
controller()->showBackFromStack();
|
controller()->showBackFromStack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue