add shortcut keybinding for saving in tiny tag editor
This commit is contained in:
@@ -273,6 +273,11 @@ void Help::GetKeybindings()
|
||||
|
||||
|
||||
# ifdef HAVE_TAGLIB_H
|
||||
*w << "\n\n " << fmtBold << "Keys - Tiny tag editor\n -----------------------------------------\n" << fmtBoldEnd;
|
||||
*w << DisplayKeys(Key.Enter) << "Edit tag\n";
|
||||
*w << DisplayKeys(Key.ToggleSingle) << "Save\n";
|
||||
|
||||
|
||||
*w << "\n\n " << fmtBold << "Keys - Tag editor\n -----------------------------------------\n" << fmtBoldEnd;
|
||||
*w << DisplayKeys(Key.Enter) << "Change tag/filename for one song (left column)\n";
|
||||
*w << DisplayKeys(Key.Enter) << "Perform operation on all/selected songs (middle column)\n";
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user