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

This commit is contained in:
Andrzej Rybczak committed 2015-06-13 20:29:39 +02:00
1 parent aa8c47d578
commit 4d4b7c542f
2 files changed
+3

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ ncmpcpp-0.6.5 (????-??-??)
* Description of mouse wheel usage on volume is now correct.
* Configure script now fails if either readline or pthread specific headers are not present.
* Searching in text fields now respects regular expression configuration.
* When numbering tracks in tag editor all the other track tags are discarded.
ncmpcpp-0.6.4 (2015-05-02)
+2
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");
}