Fix a collision name (perhaps msys2 specific)
This commit is contained in:
parent
6d4c454e8c
commit
b6e1fe11b6
|
@ -584,7 +584,7 @@ void DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::updateValidateStatus( int aRow )
|
||||||
|
|
||||||
switch( validateModelExists( m_modelsGrid->GetCellValue( aRow, COL_FILENAME) ) )
|
switch( validateModelExists( m_modelsGrid->GetCellValue( aRow, COL_FILENAME) ) )
|
||||||
{
|
{
|
||||||
case MODEL_VALIDATE_ERRORS::NO_ERROR:
|
case MODEL_VALIDATE_ERRORS::MODEL_NO_ERROR:
|
||||||
icon = 0;
|
icon = 0;
|
||||||
errStr = "";
|
errStr = "";
|
||||||
break;
|
break;
|
||||||
|
@ -624,7 +624,7 @@ MODEL_VALIDATE_ERRORS DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::validateModelExists
|
||||||
return MODEL_VALIDATE_ERRORS::RESOLVE_FAIL;
|
return MODEL_VALIDATE_ERRORS::RESOLVE_FAIL;
|
||||||
|
|
||||||
if( wxFileName::IsFileReadable( fullPath ) )
|
if( wxFileName::IsFileReadable( fullPath ) )
|
||||||
return MODEL_VALIDATE_ERRORS::NO_ERROR;
|
return MODEL_VALIDATE_ERRORS::MODEL_NO_ERROR;
|
||||||
else
|
else
|
||||||
return MODEL_VALIDATE_ERRORS::OPEN_FAIL;
|
return MODEL_VALIDATE_ERRORS::OPEN_FAIL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ class FOOTPRINT_EDIT_FRAME;
|
||||||
|
|
||||||
enum class MODEL_VALIDATE_ERRORS
|
enum class MODEL_VALIDATE_ERRORS
|
||||||
{
|
{
|
||||||
NO_ERROR,
|
MODEL_NO_ERROR,
|
||||||
RESOLVE_FAIL,
|
RESOLVE_FAIL,
|
||||||
OPEN_FAIL
|
OPEN_FAIL
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue