Commit e995cd2d authored by Matthieu Gallien's avatar Matthieu Gallien 🎵

always enable the remove button for playlist entries

parent 22324f49
Pipeline #43428 passed with stage
in 25 seconds
......@@ -221,7 +221,6 @@ FocusScope {
sourceComponent: Row {
anchors.centerIn: parent
enabled: isValid
FlatButtonWithToolTip {
implicitHeight: playListEntry.height
......@@ -229,6 +228,8 @@ FocusScope {
visible: playListEntry.fileName.toString().substring(0, 7) === 'file://'
enabled: isValid
text: i18nc("Show the file for this song in the file manager", "Show in folder")
icon.name: "document-open-folder"
onClicked: {
......@@ -243,6 +244,8 @@ FocusScope {
implicitHeight: playListEntry.height
implicitWidth: playListEntry.height
enabled: isValid
text: i18nc("Show track metadata", "View Details")
icon.name: "help-about"
onClicked: {
......@@ -263,6 +266,8 @@ FocusScope {
implicitHeight: playListEntry.height
implicitWidth: playListEntry.height
enabled: isValid
scale: LayoutMirroring.enabled ? -1 : 1 // We can mirror the symmetrical pause icon
text: (isPlaying === MediaPlayList.IsPlaying) ? i18nc("Pause current track from play list", "Pause") : i18nc("Play this track from play list", "Play")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment