Allow for editing multiple titles in the tag editor

This commit is contained in:
Andrzej Rybczak
2020-12-13 15:33:27 +01:00
parent 2c91694dc4
commit 3b06b7e90e
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
`visualizer_spectrum_hz_min` and `visualizer_spectrum_hz_max` options to a `visualizer_spectrum_hz_min` and `visualizer_spectrum_hz_max` options to a
configuration file for controlling the look of the new spectrum visualizer. configuration file for controlling the look of the new spectrum visualizer.
* Add `visualizer_autoscale` option to a configuration file. * Add `visualizer_autoscale` option to a configuration file.
* Allow for editing multiple titles in the Tag Editor.
# ncmpcpp-0.8.2 (2018-04-11) # ncmpcpp-0.8.2 (2018-04-11)
* Help screen: fixed display of EoF keycode * Help screen: fixed display of EoF keycode

View File

@@ -730,7 +730,7 @@ void TagEditor::runAction()
{ {
MPD::Song::GetFunction get = SongInfo::Tags[id].Get; MPD::Song::GetFunction get = SongInfo::Tags[id].Get;
MPD::MutableSong::SetFunction set = SongInfo::Tags[id].Set; MPD::MutableSong::SetFunction set = SongInfo::Tags[id].Set;
if (id > 0 && w == TagTypes) if (w == TagTypes)
{ {
Statusbar::ScopedLock slock; Statusbar::ScopedLock slock;
Statusbar::put() << NC::Format::Bold << TagTypes->current()->value() << NC::Format::NoBold << ": "; Statusbar::put() << NC::Format::Bold << TagTypes->current()->value() << NC::Format::NoBold << ": ";