[vlc-commits] qml: fix the MusicArtistDisplay view with an empty media library

Adrien Maglo git at videolan.org
Mon Jun 17 11:25:34 CEST 2019


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Jun 13 16:41:55 2019 +0200| [1a6b761e1c6552864ab535341e0a6105b150270e] | committer: Jean-Baptiste Kempf

qml: fix the MusicArtistDisplay view with an empty media library

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a6b761e1c6552864ab535341e0a6105b150270e
---

 modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml b/modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml
index b5346109ba..69774a7ace 100644
--- a/modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml
@@ -116,6 +116,8 @@ Utils.NavigableFocusScope {
 
     Row {
         anchors.fill: parent
+        visible: delegateModel.items.count > 0
+
         Utils.KeyNavigableListView {
             width: parent.width * 0.25
             height: parent.height



More information about the vlc-commits mailing list