mirror of https://github.com/procxx/kepka.git
Close streamed video on Escape.
This commit is contained in:
parent
65b949d36b
commit
e53f4a5450
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue