Fix a collision name (perhaps msys2 specific)

This commit is contained in:
jean-pierre charras 2021-07-28 19:39:50 +02:00
parent 6d4c454e8c
commit b6e1fe11b6
2 changed files with 3 additions and 3 deletions

View File

@ -584,7 +584,7 @@ void DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::updateValidateStatus( int aRow )
switch( validateModelExists( m_modelsGrid->GetCellValue( aRow, COL_FILENAME) ) )
{
case MODEL_VALIDATE_ERRORS::NO_ERROR:
case MODEL_VALIDATE_ERRORS::MODEL_NO_ERROR:
icon = 0;
errStr = "";
break;
@ -624,7 +624,7 @@ MODEL_VALIDATE_ERRORS DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::validateModelExists
return MODEL_VALIDATE_ERRORS::RESOLVE_FAIL;
if( wxFileName::IsFileReadable( fullPath ) )
return MODEL_VALIDATE_ERRORS::NO_ERROR;
return MODEL_VALIDATE_ERRORS::MODEL_NO_ERROR;
else
return MODEL_VALIDATE_ERRORS::OPEN_FAIL;
}

View File

@ -38,7 +38,7 @@ class FOOTPRINT_EDIT_FRAME;
enum class MODEL_VALIDATE_ERRORS
{
NO_ERROR,
MODEL_NO_ERROR,
RESOLVE_FAIL,
OPEN_FAIL
};