[vlc-devel] [PATCH 15/23] qml: disable shuffle button when the list is empty
Fatih Uzunoglu
fuzun54 at outlook.com
Thu Jul 2 15:22:00 CEST 2020
---
modules/gui/qt/playlist/qml/PlaylistToolbar.qml | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/playlist/qml/PlaylistToolbar.qml b/modules/gui/qt/playlist/qml/PlaylistToolbar.qml
index 403d496d77..c35af67325 100644
--- a/modules/gui/qt/playlist/qml/PlaylistToolbar.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistToolbar.qml
@@ -62,6 +62,7 @@ Widgets.NavigableFocusScope {
id: shuffle
Layout.alignment: Qt.AlignHCenter
//Layout.minimumWidth: VLCStyle.icon_normal * 2
+ enabled: !mainPlaylistController.empty
size: VLCStyle.icon_normal
iconText: VLCIcons.shuffle_on
onClicked: mainPlaylistController.shuffle()
--
2.25.1
More information about the vlc-devel
mailing list