[vlc-commits] qml: fix back button for artist page
Prince Gupta
git at videolan.org
Mon Aug 10 12:09:41 CEST 2020
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Jul 28 16:07:29 2020 +0530| [287e59be218f5123b1f0f2fbbd69f397c6a54522] | committer: Pierre Lamot
qml: fix back button for artist page
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=287e59be218f5123b1f0f2fbbd69f397c6a54522
---
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)
}
More information about the vlc-commits
mailing list