From 3b06b7e90efeb5f951293f0389d119c95f747003 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sun, 13 Dec 2020 15:33:27 +0100 Subject: [PATCH] Allow for editing multiple titles in the tag editor --- CHANGELOG.md | 1 + src/screens/tag_editor.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20476178..06348a22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ `visualizer_spectrum_hz_min` and `visualizer_spectrum_hz_max` options to a configuration file for controlling the look of the new spectrum visualizer. * Add `visualizer_autoscale` option to a configuration file. +* Allow for editing multiple titles in the Tag Editor. # ncmpcpp-0.8.2 (2018-04-11) * Help screen: fixed display of EoF keycode diff --git a/src/screens/tag_editor.cpp b/src/screens/tag_editor.cpp index 3311131c..526d2be6 100644 --- a/src/screens/tag_editor.cpp +++ b/src/screens/tag_editor.cpp @@ -730,7 +730,7 @@ void TagEditor::runAction() { MPD::Song::GetFunction get = SongInfo::Tags[id].Get; MPD::MutableSong::SetFunction set = SongInfo::Tags[id].Set; - if (id > 0 && w == TagTypes) + if (w == TagTypes) { Statusbar::ScopedLock slock; Statusbar::put() << NC::Format::Bold << TagTypes->current()->value() << NC::Format::NoBold << ": ";