1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

Bug 1541 - Residual: Wrong commands shown in tooltip

I assumed that we had more than one binding to the same command.  In fact the commands are different and I picked the wrong one.
This commit is contained in:
James Crook 2017-05-15 22:36:53 +01:00
parent 52caef9775
commit 97cdd31948

View File

@ -260,14 +260,14 @@ void ControlToolBar::RegenerateTooltips()
// With shift
commands.push_back(_("Select to End"));
// For the shortcut tooltip.
commands.push_back(wxT("SelCursorEnd"));
commands.push_back(wxT("SelEnd"));
break;
case ID_REW_BUTTON:
commands.push_back(wxT("CursProjectStart"));
// With shift
commands.push_back(_("Select to Start"));
// For the shortcut tooltip.
commands.push_back(wxT("SelStartCursor"));
commands.push_back(wxT("SelStart"));
break;
}
ToolBar::SetButtonToolTip(*pCtrl, commands);