1
0
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:
James Crook 2017-04-21 17:39:35 +01:00
parent 6d361687d6
commit 083d123875

View File

@ -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);
}