mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-25 10:44:41 +02:00
Close streamed video on Escape.
This commit is contained in:
parent
65b949d36b
commit
e53f4a5450
1 changed files with 1 additions and 1 deletions
|
@ -2957,7 +2957,7 @@ void OverlayWidget::keyPressEvent(QKeyEvent *e) {
|
|||
}
|
||||
}
|
||||
if (!_menu && e->key() == Qt::Key_Escape) {
|
||||
if (_doc && _doc->loading()) {
|
||||
if (_doc && _doc->loading() && !_streamed) {
|
||||
onDocClick();
|
||||
} else {
|
||||
close();
|
||||
|
|
Loading…
Add table
Reference in a new issue