Improve SNR of EDA_ANGLE stuff.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2018-2021 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
* Copyright (C) 2018-2022 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -611,9 +611,9 @@ void FIELDS_GRID_TABLE<T>::SetValue( int aRow, int aCol, const wxString &aValue
|
||||
|
||||
case FDC_ORIENTATION:
|
||||
if( aValue == _( "Horizontal" ) )
|
||||
field.SetTextAngle( EDA_ANGLE::HORIZONTAL );
|
||||
field.SetTextAngle( ANGLE_HORIZONTAL );
|
||||
else if( aValue == _( "Vertical" ) )
|
||||
field.SetTextAngle( EDA_ANGLE::VERTICAL );
|
||||
field.SetTextAngle( ANGLE_VERTICAL );
|
||||
else
|
||||
wxFAIL_MSG( wxT( "unknown orientation: " ) + aValue );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user