fp editor: fix incorrect parent for a error message box

From master branch (commit b425889)
This commit is contained in:
jean-pierre charras 2020-12-17 11:25:12 +01:00
parent fd79c7ae46
commit f599185e2d
1 changed files with 2 additions and 2 deletions

View File

@ -922,7 +922,7 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintAs( MODULE* aModule )
if( libraryName.IsEmpty() )
{
DisplayError( NULL, _( "No library specified. Footprint could not be saved." ) );
DisplayError( this, _( "No library specified. Footprint could not be saved." ) );
return false;
}
@ -932,7 +932,7 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintAs( MODULE* aModule )
if( footprintName.IsEmpty() )
{
DisplayError( NULL, _( "No footprint name specified. Footprint could not be saved." ) );
DisplayError( this, _( "No footprint name specified. Footprint could not be saved." ) );
return false;
}