[vlc-commits] qml: fix playlist keyboard navigation
Fatih Uzunoglu
git at videolan.org
Fri Jul 24 11:46:09 CEST 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Tue Jul 7 22:08:24 2020 +0300| [04a362899b8de28fa2762002822857c2e3c6ce40] | committer: Pierre Lamot
qml: fix playlist keyboard navigation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04a362899b8de28fa2762002822857c2e3c6ce40
---
modules/gui/qt/medialibrary/qml/MainDisplay.qml | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/modules/gui/qt/medialibrary/qml/MainDisplay.qml b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
index 3bb9f405e1..89a26979de 100644
--- a/modules/gui/qt/medialibrary/qml/MainDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
@@ -215,6 +215,7 @@ Widgets.NavigableFocusScope {
}
width: root.width / 4
visible: false
+ focus: false
property bool expanded: mainInterface.playlistDocked && mainInterface.playlistVisible
@@ -252,15 +253,6 @@ Widgets.NavigableFocusScope {
}
}
- navigationParent: medialibId
- navigationLeftItem: stackView
- navigationUpItem: sourcesBanner
- navigationDownItem: miniPlayer.expanded ? miniPlayer : undefined
- navigationCancel: function() {
- mainInterface.playlistVisible = false
- stackView.forceActiveFocus()
- }
-
ColumnLayout {
anchors.fill: parent
spacing: 0
@@ -290,6 +282,15 @@ Widgets.NavigableFocusScope {
rightPadding: VLCStyle.applicationHorizontalMargin
+ navigationParent: medialibId
+ navigationLeftItem: stackView
+ navigationUpItem: sourcesBanner
+ navigationDownItem: miniPlayer.expanded ? miniPlayer : undefined
+ navigationCancel: function() {
+ mainInterface.playlistVisible = false
+ stackView.forceActiveFocus()
+ }
+
Item
{
anchors {
More information about the vlc-commits
mailing list