add shortcut keybinding for saving in tiny tag editor

This commit is contained in:
Andrzej Rybczak
2009-07-04 07:24:57 +02:00
parent 9dab25e02c
commit 5838d02077
2 changed files with 12 additions and 0 deletions

View File

@@ -1192,6 +1192,13 @@ int main(int argc, char *argv[])
mySearcher->Main()->Highlighting(1);
mySearcher->EnterPressed();
}
# ifdef HAVE_TAGLIB_H
else if (myScreen == myTinyTagEditor)
{
myTinyTagEditor->Main()->Highlight(myTinyTagEditor->Main()->Size()-2); // Save
myTinyTagEditor->EnterPressed();
}
# endif // HAVE_TAGLIB_H
else
{
Mpd.SetSingle(!Mpd.GetSingle());