From 6f7b77c84eb9e71ed713bf0fddbb96daa6b81bd8 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 6 Oct 2009 07:46:50 +0200 Subject: [PATCH] editing lyrics shouldn't require mpd_music_dir variable to be set --- src/ncmpcpp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index 6a885025..c5bdab93 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -1342,7 +1342,8 @@ int main(int argc, char *argv[]) } else if (Keypressed(input, Key.EditTags)) { - if (myScreen != myBrowser || !myBrowser->isLocal()) + if ((myScreen != myBrowser || !myBrowser->isLocal()) + && myScreen != myLyrics) CHECK_MPD_MUSIC_DIR; # ifdef HAVE_TAGLIB_H if (myTinyTagEditor->SetEdited(myScreen->CurrentSong()))