Commit a41fdbcb authored by Yerrey Dev's avatar Yerrey Dev
Browse files

Fix showArtist button and its signal

parent 98227f05
......@@ -23,7 +23,7 @@ AbstractDataView {
signal showArtist(var name)
onShowArtist: {
viewManager.openArtistView(secondaryTitle)
viewManager.openArtistView(name)
}
function openMetaDataView(databaseId, url, entryType) {
......
......@@ -41,7 +41,6 @@ Item {
signal replaceAndPlay();
signal createRadio();
signal goBack();
signal showArtist();
property bool isWidescreen: mainWindow.width >= elisaTheme.viewSelectorSmallSizeThreshold
......@@ -153,7 +152,7 @@ Item {
text: i18nc("Button to navigate to the artist of the album", "Display Artist")
icon.name: "view-media-artist"
display: Kirigami.Settings.isMobile && navigationBar.isWidescreen ? AbstractButton.TextBesideIcon : AbstractButton.IconOnly
onClicked: showArtist()
onClicked: showArtist(authorLabel.text)
}
}
Component {
......
Supports Markdown
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