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

Method Show

src/SpectralDataDialog.cpp:285–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285bool SpectralDataDialog::Show( bool show )
286{
287 if ( show && !IsShown())
288 DoUpdate();
289 if ( IsShown() && !show && IsBrushToolActive(mProject) )
290 ProjectSettings::Get(mProject).SetTool(ToolCodes::selectTool);
291 auto result = wxDialogWrapper::Show( show );
292 CommandManager::Get( mProject ).UpdateCheckmarks( mProject );
293 return result;
294}
295
296void SpectralDataDialog::DoUpdate()
297{

Callers 3

OnCloseWindowMethod · 0.95
OnIdleMethod · 0.45
OnSpectralEditingPanelFunction · 0.45

Calls 4

IsBrushToolActiveFunction · 0.85
GetFunction · 0.85
SetToolMethod · 0.80
UpdateCheckmarksMethod · 0.80

Tested by

no test coverage detected