tiny tag editor: fix file edition in local browser
This commit is contained in:
@@ -169,7 +169,10 @@ void TinyTagEditor::mouseButtonPressed(MEVENT me)
|
|||||||
|
|
||||||
void TinyTagEditor::SetEdited(const MPD::Song &s)
|
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()
|
bool TinyTagEditor::getTags()
|
||||||
|
|||||||
Reference in New Issue
Block a user