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:
parent
bfb1284573
commit
a3112e5aeb
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user