mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +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 (!_menu && e->key() == Qt::Key_Escape) {
|
||||||
if (_doc && _doc->loading()) {
|
if (_doc && _doc->loading() && !_streamed) {
|
||||||
onDocClick();
|
onDocClick();
|
||||||
} else {
|
} else {
|
||||||
close();
|
close();
|
||||||
|
Reference in New Issue
Block a user