[vlc-devel] [PATCH 16/29] qml: fix back button for artist page
Prince Gupta
guptaprince8832 at gmail.com
Tue Aug 4 13:34:49 CEST 2020
---
modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml b/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
index ba31973ef5..3277def725 100644
--- a/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
@@ -54,7 +54,7 @@ Widgets.NavigableFocusScope {
if (initialIndex >= artistModel.count)
initialIndex = 0
if (initialIndex !== artistList.currentIndex) {
- selectionModel.select(artistModel.index(initialIndex), ItemSelectionModel.ClearAndSelect)
+ selectionModel.select(artistModel.index(initialIndex, 0), ItemSelectionModel.ClearAndSelect)
artistList.currentIndex = initialIndex
artistList.positionViewAtIndex(initialIndex, ItemView.Contain)
}
--
2.25.1
More information about the vlc-devel
mailing list