mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-04 13:27:39 +02:00
TranslatableString for toolbar button labels
This commit is contained in:
@@ -1758,7 +1758,7 @@ void AdornedRulerPanel::UpdateButtonStates()
|
||||
AButton &button, const CommandID &commandName, const TranslatableString &label) {
|
||||
ComponentInterfaceSymbol command{ commandName, label };
|
||||
ToolBar::SetButtonToolTip( *mProject, button, &command, 1u );
|
||||
button.SetLabel(button.GetToolTipText());
|
||||
button.SetLabel( Verbatim( button.GetToolTipText() ) );
|
||||
|
||||
button.UpdateStatus();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user