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.
This commit is contained in:
@@ -140,7 +140,7 @@ void TinyTagEditor::EnterPressed()
|
|||||||
if (myOldScreen == myPlaylist)
|
if (myOldScreen == myPlaylist)
|
||||||
myPlaylist->Items->Current() = s;
|
myPlaylist->Items->Current() = s;
|
||||||
else if (myOldScreen == myBrowser)
|
else if (myOldScreen == myBrowser)
|
||||||
*myBrowser->Main()->Current().song = s;
|
myBrowser->GetDirectory(myBrowser->CurrentDir());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user