mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added Escape hotkey to hide search messages in dialogs.
This commit is contained in:
@@ -7135,7 +7135,9 @@ void HistoryWidget::confirmDeleteSelected() {
|
||||
}
|
||||
|
||||
void HistoryWidget::escape() {
|
||||
if (_chooseForReport) {
|
||||
if (_composeSearch) {
|
||||
_composeSearch->hideAnimated();
|
||||
} else if (_chooseForReport) {
|
||||
controller()->clearChooseReportMessages();
|
||||
} else if (_nonEmptySelection && _list) {
|
||||
clearSelected();
|
||||
|
Reference in New Issue
Block a user