mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Close streamed video on Escape.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user