aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistTag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlaylistTag.cxx')
-rw-r--r--src/PlaylistTag.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlaylistTag.cxx b/src/PlaylistTag.cxx
index e158018f5..2897f3252 100644
--- a/src/PlaylistTag.cxx
+++ b/src/PlaylistTag.cxx
@@ -56,7 +56,7 @@ playlist::AddSongIdTag(unsigned id, TagType tag_type, const char *value,
}
tag.AddItem(tag_type, value);
- song.tag = tag.Commit();
+ song.tag = tag.CommitNew();
queue.ModifyAtPosition(position);
OnModified();
@@ -91,7 +91,7 @@ playlist::ClearSongIdTag(unsigned id, TagType tag_type,
tag.RemoveAll();
else
tag.RemoveType(tag_type);
- song.tag = tag.Commit();
+ song.tag = tag.CommitNew();
queue.ModifyAtPosition(position);
OnModified();