diff options
Diffstat (limited to '')
-rw-r--r-- | src/Partition.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx index e2bbe19d8..3619ff7f0 100644 --- a/src/Partition.cxx +++ b/src/Partition.cxx @@ -19,11 +19,16 @@ #include "config.h" #include "Partition.hxx" +#include "Song.hxx" void Partition::TagModified() { - playlist.TagChanged(); + Song *song = pc.LockReadTaggedSong(); + if (song != nullptr) { + playlist.TagModified(std::move(*song)); + song->Free(); + } } void |