[vlc-devel] [PATCH] QML: fix the MusicArtistDisplay view with an empty media library

Adrien Maglo magsoft at videolan.org
Thu Jun 13 16:41:55 CEST 2019


---
 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
-- 
2.20.1



More information about the vlc-devel mailing list