tag editor: when numbering tracks, discard other track tags if present

This commit is contained in:
Andrzej Rybczak
2015-06-13 20:28:28 +02:00
parent aa8c47d578
commit 4d4b7c542f
2 changed files with 3 additions and 0 deletions

View File

@@ -479,6 +479,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");
}