[vlc-commits] [Git][videolan/vlc][master] qml/MainDisplay: Fix 'leftAction' Navigation

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Thu Oct 14 14:54:04 UTC 2021



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
4a152229 by Benjamin Arnaud at 2021-10-14T14:40:23+00:00
qml/MainDisplay: Fix 'leftAction' Navigation

- - - - -


1 changed file:

- modules/gui/qt/maininterface/qml/MainDisplay.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -330,9 +330,13 @@ FocusScope {
                             bottomPadding: topPadding + Math.max(VLCStyle.applicationVerticalMargin - miniPlayer.height, 0)
 
                             Navigation.parentItem: medialibId
-                            Navigation.leftItem: stackView
                             Navigation.upItem: sourcesBanner
                             Navigation.downItem: miniPlayer.expanded ? miniPlayer : null
+
+                            Navigation.leftAction: function() {
+                                stackView.currentItem.setCurrentItemFocus(Qt.TabFocusReason);
+                            }
+
                             Navigation.cancelAction: function() {
                                 mainInterface.playlistVisible = false
                                 stackView.forceActiveFocus()



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4a15222984ff3009d848bc99691c583c9bb449dd

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4a15222984ff3009d848bc99691c583c9bb449dd
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list