diff --git a/pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp b/pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp index 4d91037f2e..b6bc2e6ac2 100644 --- a/pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp +++ b/pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp @@ -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; } diff --git a/pcbnew/dialogs/dialog_footprint_properties_fp_editor.h b/pcbnew/dialogs/dialog_footprint_properties_fp_editor.h index a8076255e3..c07a5f7c4e 100644 --- a/pcbnew/dialogs/dialog_footprint_properties_fp_editor.h +++ b/pcbnew/dialogs/dialog_footprint_properties_fp_editor.h @@ -38,7 +38,7 @@ class FOOTPRINT_EDIT_FRAME; enum class MODEL_VALIDATE_ERRORS { - NO_ERROR, + MODEL_NO_ERROR, RESOLVE_FAIL, OPEN_FAIL };