1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-17 16:50:26 +02:00

Deleted a little too much in r13739.

New label wasn't being saved.
This commit is contained in:
lllucius 2014-12-13 00:46:44 +00:00
parent bfb1284573
commit a3112e5aeb

View File

@ -846,7 +846,8 @@ void CommandManager::Modify(wxString name, wxString newLabel)
{
CommandListEntry *entry = mCommandNameHash[name];
if (entry && entry->menu) {
entry->menu->SetLabel(entry->id, newLabel.BeforeFirst(wxT('\t')));
entry->label = newLabel.BeforeFirst(wxT('\t'));
entry->menu->SetLabel(entry->id, entry->label);
}
}