[vlc-devel] [PATCH 7/9] qml: fix keyboard action for table view of Music Genres

Prince Gupta guptaprince8832 at gmail.com
Mon Aug 10 15:20:28 CEST 2020


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

diff --git a/modules/gui/qt/medialibrary/qml/MusicGenres.qml b/modules/gui/qt/medialibrary/qml/MusicGenres.qml
index 66098707b2..57e66390e7 100644
--- a/modules/gui/qt/medialibrary/qml/MusicGenres.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicGenres.qml
@@ -219,7 +219,7 @@ Widgets.NavigableFocusScope {
             model: genreModel
             headerColor: VLCStyle.colors.bg
             focus: true
-            onActionForSelection: _actionAtIndex(index)
+            onActionForSelection: _actionAtIndex(selection)
             navigationParent: root
 
             sortModel:  [
-- 
2.25.1



More information about the vlc-devel mailing list