mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-23 15:41:09 +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)
|
void CommandManager::Check(const wxString &name, bool checked)
|
||||||
{
|
{
|
||||||
CommandListEntry *entry = mCommandNameHash[name];
|
CommandListEntry *entry = mCommandNameHash[name];
|
||||||
if (!entry || !entry->menu) {
|
if (!entry || !entry->menu || entry->isOccult) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
entry->menu->Check(entry->id, checked);
|
entry->menu->Check(entry->id, checked);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user