summaryrefslogtreecommitdiff
path: root/src/tag_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag_editor.cpp')
-rw-r--r--src/tag_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tag_editor.cpp b/src/tag_editor.cpp
index 517983b9..b1666ee7 100644
--- a/src/tag_editor.cpp
+++ b/src/tag_editor.cpp
@@ -533,6 +533,8 @@ void TagEditor::enterPressed()
(*it)->setTrack(boost::lexical_cast<std::string>(i) + "/" + boost::lexical_cast<std::string>(EditedSongs.size()));
else
(*it)->setTrack(boost::lexical_cast<std::string>(i));
+ // discard other track number tags
+ (*it)->setTrack("", 1);
}
Statusbar::print("Tracks numbered");
return;