fp editor: fix incorrect parent for a error message box
From master branch (commit b425889
)
This commit is contained in:
parent
fd79c7ae46
commit
f599185e2d
|
@ -922,7 +922,7 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintAs( MODULE* aModule )
|
||||||
|
|
||||||
if( libraryName.IsEmpty() )
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -932,7 +932,7 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintAs( MODULE* aModule )
|
||||||
|
|
||||||
if( footprintName.IsEmpty() )
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue