fix bug that could cause ncmpcpp termination

steps to reproduce it:
- go to local browser
- edit tags of the last item using tiny tag editor
- move item to another directory by renaming it
- save tags

tadam! but it's no more.
master
Andrzej Rybczak 17 years ago
parent dd866e9337
commit a91d02e181
  1. 2
      src/tiny_tag_editor.cpp

@ -140,7 +140,7 @@ void TinyTagEditor::EnterPressed()
if (myOldScreen == myPlaylist)
myPlaylist->Items->Current() = s;
else if (myOldScreen == myBrowser)
*myBrowser->Main()->Current().song = s;
myBrowser->GetDirectory(myBrowser->CurrentDir());
}
}
else

Loading…
Cancel
Save