diff --git a/src/tiny_tag_editor.cpp b/src/tiny_tag_editor.cpp index 155272ba..74031ed8 100644 --- a/src/tiny_tag_editor.cpp +++ b/src/tiny_tag_editor.cpp @@ -169,7 +169,10 @@ void TinyTagEditor::mouseButtonPressed(MEVENT me) void TinyTagEditor::SetEdited(const MPD::Song &s) { - itsEdited = s; + if (auto ms = dynamic_cast(&s)) + itsEdited = *ms; + else + itsEdited = s; } bool TinyTagEditor::getTags()