tiny tag editor: fix file edition in local browser

This commit is contained in:
Andrzej Rybczak
2013-05-16 18:14:44 +02:00
parent efa7a99167
commit a1b57a45af

View File

@@ -169,7 +169,10 @@ void TinyTagEditor::mouseButtonPressed(MEVENT me)
void TinyTagEditor::SetEdited(const MPD::Song &s)
{
itsEdited = s;
if (auto ms = dynamic_cast<const MPD::MutableSong *>(&s))
itsEdited = *ms;
else
itsEdited = s;
}
bool TinyTagEditor::getTags()