make binding responsible for going to parent dir work in tag editor

This commit is contained in:
Andrzej Rybczak
2009-11-23 19:25:51 +01:00
parent 0dc076742f
commit 5aa1613cfb
2 changed files with 8 additions and 0 deletions

View File

@@ -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))
{