mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 15:11:12 +02:00
Fix other problems since commit f6e5696...
... Problem with static initialization order of ReservedCommandFlags, caused wrong enablement of menu items (at least on Mac), such as Plot Spectrum or Contrast enabled when there was no selection
This commit is contained in:
@@ -1155,7 +1155,7 @@ void EffectUIHost::OnApply(wxCommandEvent & evt)
|
||||
MenuManager::Get( project ).ReportIfActionNotAllowed(
|
||||
mEffect->GetName(),
|
||||
flags,
|
||||
WaveTracksSelectedFlag | TimeSelectedFlag);
|
||||
WaveTracksSelectedFlag() | TimeSelectedFlag());
|
||||
if (!allowed)
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user