[vlc-commits] qml: fix right navigation from VolumeWidget

Prince Gupta git at videolan.org
Mon Feb 8 10:00:13 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Jan 19 18:10:48 2021 +0530| [19fb8037e97537448c654b50cca599d1a02ebb9b] | committer: Pierre Lamot

qml: fix right navigation from VolumeWidget

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19fb8037e97537448c654b50cca599d1a02ebb9b
---

 modules/gui/qt/player/qml/VolumeWidget.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/player/qml/VolumeWidget.qml b/modules/gui/qt/player/qml/VolumeWidget.qml
index 9e7ebb5b1f..2784b1382f 100644
--- a/modules/gui/qt/player/qml/VolumeWidget.qml
+++ b/modules/gui/qt/player/qml/VolumeWidget.qml
@@ -126,7 +126,7 @@ FocusScope{
             Keys.onRightPressed: {
                 var right = widgetfscope.KeyNavigation.right
                 while (right && (!right.enabled || !right.visible)) {
-                    right = right.KeyNavigation ? right.KeyNavigation.left : undefined
+                    right = right.KeyNavigation ? right.KeyNavigation.right : undefined
                 }
                 if (right)
                     right.forceActiveFocus()



More information about the vlc-commits mailing list