[vlc-devel] [PATCH 05/10] qml: fix focus loss within player menu on title change
Pierre Lamot
pierre at videolabs.io
Mon Nov 18 18:14:08 CET 2019
---
modules/gui/qt/qml/player/ControlButtons.qml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/modules/gui/qt/qml/player/ControlButtons.qml b/modules/gui/qt/qml/player/ControlButtons.qml
index c75abf3301..6fb35c6d40 100644
--- a/modules/gui/qt/qml/player/ControlButtons.qml
+++ b/modules/gui/qt/qml/player/ControlButtons.qml
@@ -225,6 +225,17 @@ Item{
title: qsTr("Languages and Tracks")
+
+ Connections {
+ target: player
+ onInputChanged: {
+ subtrackMenu.dismiss()
+ audiotrackMenu.dismiss()
+ videotrackMenu.dismiss()
+ langMenu.dismiss()
+ }
+ }
+
PlayerMenu {
id: subtrackMenu
onOpened: rootPlayer._menu = subtrackMenu
--
2.17.1
More information about the vlc-devel
mailing list