mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 14:18:53 +02:00
Don't update checkmarks of occult menu items.
This commit is contained in:
parent
6d361687d6
commit
083d123875
@ -1058,10 +1058,9 @@ bool CommandManager::GetEnabled(const wxString &name)
|
||||
void CommandManager::Check(const wxString &name, bool checked)
|
||||
{
|
||||
CommandListEntry *entry = mCommandNameHash[name];
|
||||
if (!entry || !entry->menu) {
|
||||
if (!entry || !entry->menu || entry->isOccult) {
|
||||
return;
|
||||
}
|
||||
|
||||
entry->menu->Check(entry->id, checked);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user