Scripting: Preemptively reset footprint wizard state.

Fixes: lp:1754992
* https://bugs.launchpad.net/kicad/+bug/1754992
This commit is contained in:
Alessandro Gatti 2018-03-15 12:29:24 -04:00 committed by Wayne Stambaugh
parent 2cc5c6fd45
commit 86603125ac
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,8 @@ void FOOTPRINT_WIZARD_FRAME::SelectFootprintWizard()
{ {
m_wizardName = footprintWizard->GetName(); m_wizardName = footprintWizard->GetName();
m_wizardDescription = footprintWizard->GetDescription(); m_wizardDescription = footprintWizard->GetDescription();
footprintWizard->ResetParameters();
} }
else else
{ {