From c773743e0637b3f90929785bf041a53654590834 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sun, 29 Dec 2024 08:12:31 -0800 Subject: [PATCH] fix missing tooltip on discography sort btn --- res/translations/en.json | 1 + ui/browsing/artistpage.go | 1 + 2 files changed, 2 insertions(+) diff --git a/res/translations/en.json b/res/translations/en.json index 7a4fd46..b84bb00 100644 --- a/res/translations/en.json +++ b/res/translations/en.json @@ -183,6 +183,7 @@ "Size": "Size", "Skip duplicate tracks": "Skip duplicate tracks", "Skip this version": "Skip this version", + "Sort": "Sort", "Soundtrack": "Soundtrack", "Spoken Word": "Spoken Word", "Startup page": "Startup page", diff --git a/ui/browsing/artistpage.go b/ui/browsing/artistpage.go index 9ddc0c2..7d524e2 100644 --- a/ui/browsing/artistpage.go +++ b/ui/browsing/artistpage.go @@ -97,6 +97,7 @@ func newArtistPage(artistID string, cfg *backend.ArtistPageConfig, pool *util.Wi viewToggle.SetActivatedLabel(a.activeView) viewToggle.OnChanged = a.onViewChange a.sortButton = widgets.NewIconButton(myTheme.SortIcon, a.showAlbumSortMenu) + a.sortButton.SetToolTip(lang.L("Sort")) viewToggleRow := container.NewBorder(nil, nil, container.NewHBox(util.NewHSpace(5), viewToggle), container.NewHBox(a.sortButton, util.NewHSpace(10)),