Potential fix for recursive error crash.

Fixes https://gitlab.com/kicad/code/kicad/issues/6471
This commit is contained in:
Jeff Young 2020-11-24 13:43:55 +00:00
parent da0d89645f
commit dbc7831d0c
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ void FOOTPRINT_LIST::DisplayErrors( wxTopLevelWindow* aWindow )
wxString msg; wxString msg;
while( const std::unique_ptr<IO_ERROR>& error = PopError() ) while( std::unique_ptr<IO_ERROR> error = PopError() )
{ {
wxString tmp = error->Problem(); wxString tmp = error->Problem();