screen_artist: fix initial page title by calling OpenArtistList()
authorMax Kellermann <max@musicpd.org>
Wed, 17 Oct 2018 08:56:28 +0000 (10:56 +0200)
committerMax Kellermann <max@musicpd.org>
Wed, 17 Oct 2018 08:56:28 +0000 (10:56 +0200)
src/screen_artist.cxx

index 9784f03..c28a275 100644 (file)
@@ -238,7 +238,7 @@ ArtistBrowserPage::OnOpen(struct mpdclient &c) noexcept
        ProxyPage::OnOpen(c);
 
        if (GetCurrentPage() == nullptr)
-               SetCurrentPage(c, &artist_list_page);
+               OpenArtistList(c);
 }
 
 void