do not check in local browser if mpd_music_dir var is set

This commit is contained in:
Andrzej Rybczak
2009-03-27 17:06:17 +01:00
parent 5f41640cd9
commit 21bf4ff91c

View File

@@ -1127,7 +1127,8 @@ int main(int argc, char *argv[])
} }
else if (Keypressed(input, Key.EditTags)) else if (Keypressed(input, Key.EditTags))
{ {
CHECK_MPD_MUSIC_DIR; if (myScreen != myBrowser || !Config.local_browser)
CHECK_MPD_MUSIC_DIR;
# ifdef HAVE_TAGLIB_H # ifdef HAVE_TAGLIB_H
if (myTinyTagEditor->SetEdited(myScreen->CurrentSong())) if (myTinyTagEditor->SetEdited(myScreen->CurrentSong()))
{ {