From a91d02e181bab82618e7152316012e7ef61a17f0 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 26 Oct 2009 16:22:39 +0100 Subject: [PATCH] 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. --- src/tiny_tag_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiny_tag_editor.cpp b/src/tiny_tag_editor.cpp index 41feaaed..ab2801eb 100644 --- a/src/tiny_tag_editor.cpp +++ b/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