call Song::Localize() in Display::SongInColumns()
This commit is contained in:
1 parent
1e511d1d8d
commit
20055afac4
1 file changed
+3
@@ -92,6 +92,9 @@ string Display::Columns(string st)
|
||||
|
||||
void Display::SongsInColumns(const MPD::Song &s, void *s_template, Menu<MPD::Song> *menu)
|
||||
{
|
||||
if (!s.Localized())
|
||||
const_cast<MPD::Song *>(&s)->Localize();
|
||||
|
||||
string st = s_template ? *static_cast<string *>(s_template) : "";
|
||||
size_t where = 0;
|
||||
Color color;
|
||||
|
||||
Reference in new issue
Block a user