display songs from root directory in tag editor

This commit is contained in:
Andrzej Rybczak
2008-11-21 19:29:01 +01:00
parent e5fbf6bea8
commit e96c8d5f58

View File

@@ -661,6 +661,10 @@ int main(int argc, char *argv[])
string parent = slash != string::npos ? editor_browsed_dir.substr(0, slash) : "/";
mEditorDirs->AddOption(make_pair("[..]", parent));
}
else
{
mEditorDirs->AddOption(make_pair(".", "/"));
}
for (TagList::const_iterator it = list.begin(); it != list.end(); it++)
{
size_t slash = it->find_last_of("/");