Rename function in Footprint wizard to prevent impoper override

The ReloadFootprint function now exists in the base class with 1
argument, but this frame already had a similar function with no
arguments. Rename this one to RegenerateFootprint to prevent warnings.
This commit is contained in:
Ian McInerney 2023-06-12 21:47:56 +01:00
parent 28075e6efe
commit 1c138b4f3e
2 changed files with 6 additions and 6 deletions

View File

@ -126,9 +126,9 @@ private:
void SelectFootprintWizard();
/**
* Reload the current footprint.
* Regenerate the current footprint.
*/
void ReloadFootprint();
void RegenerateFootprint();
/**
* Display the message generated by the python build footprint script.

View File

@ -92,7 +92,7 @@ void FOOTPRINT_WIZARD_FRAME::DisplayWizardInfos()
}
void FOOTPRINT_WIZARD_FRAME::ReloadFootprint()
void FOOTPRINT_WIZARD_FRAME::RegenerateFootprint()
{
FOOTPRINT_WIZARD* footprintWizard = GetMyWizard();
@ -183,7 +183,7 @@ void FOOTPRINT_WIZARD_FRAME::SelectFootprintWizard()
m_wizardDescription.Empty();
}
ReloadFootprint();
RegenerateFootprint();
Zoom_Automatique( false );
DisplayWizardInfos();
ReCreatePageList();
@ -208,7 +208,7 @@ void FOOTPRINT_WIZARD_FRAME::DefaultParameters( wxCommandEvent& event )
// Reload
ReCreateParameterList();
ReloadFootprint();
RegenerateFootprint();
DisplayWizardInfos();
}
@ -255,7 +255,7 @@ void FOOTPRINT_WIZARD_FRAME::ParametersUpdated( wxGridEvent& event )
if( !res.IsEmpty() )
wxMessageBox( res );
ReloadFootprint();
RegenerateFootprint();
DisplayWizardInfos();
// The python script can have modified some other parameters.