Don't shout at the user.
This commit is contained in:
parent
a3b9e8ddb4
commit
b1943bf6b6
|
@ -269,13 +269,13 @@ FOOTPRINT* MICROWAVE_TOOL::createPolygonShape()
|
|||
|
||||
if( ( ShapeSize.x ) == 0 || ( ShapeSize.y == 0 ) )
|
||||
{
|
||||
editFrame.ShowInfoBarError( _( "Shape has a null size!" ) );
|
||||
editFrame.ShowInfoBarError( _( "Shape has a null size." ) );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if( PolyEdges.size() == 0 )
|
||||
{
|
||||
editFrame.ShowInfoBarError( _( "Shape has no points!" ) );
|
||||
editFrame.ShowInfoBarError( _( "Shape has no points." ) );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue