make binding responsible for going to parent dir work in tag editor
This commit is contained in:
@@ -293,6 +293,7 @@ void Help::GetKeybindings()
|
||||
*w << DisplayKeys(Key.Space) << "Select/deselect song (right column)\n";
|
||||
*w << DisplayKeys(&Key.VolumeDown[0], 1) << "Previous column\n";
|
||||
*w << DisplayKeys(&Key.VolumeUp[0], 1) << "Next column\n";
|
||||
*w << DisplayKeys(Key.GoToParentDir) << "Go to parent directory (left column, directories view)\n";
|
||||
# endif // HAVE_TAGLIB_H
|
||||
|
||||
|
||||
|
||||
@@ -533,6 +533,13 @@ int main(int argc, char *argv[])
|
||||
myBrowser->Main()->Reset();
|
||||
myBrowser->EnterPressed();
|
||||
}
|
||||
# ifdef HAVE_TAGLIB_H
|
||||
else if (myScreen->ActiveWindow() == myTagEditor->Dirs && myTagEditor->CurrentDir() != "/")
|
||||
{
|
||||
myTagEditor->Dirs->Reset();
|
||||
myTagEditor->EnterPressed();
|
||||
}
|
||||
# endif // HAVE_TAGLIB_H
|
||||
}
|
||||
else if (Keypressed(input, Key.Enter))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user