MCPcopy Create free account
hub / github.com/audacity/audacity / UpdateControls

Method UpdateControls

src/effects/EffectUI.cpp:1011–1025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009}
1010
1011void EffectUIHost::UpdateControls()
1012{
1013 if (mIsBatch)
1014 {
1015 return;
1016 }
1017
1018 if (IsOpenedFromEffectPanel())
1019 {
1020 mEnabled ? mEnableBtn->PushDown() : mEnableBtn->PopUp();
1021 return;
1022 }
1023
1024 mApplyBtn->Enable(!mCapturing);
1025}
1026
1027void EffectUIHost::LoadUserPresets()
1028{

Callers 1

OnTimerMethod · 0.45

Calls 3

PushDownMethod · 0.45
PopUpMethod · 0.45
EnableMethod · 0.45

Tested by

no test coverage detected