Pcbnew: add user defined layer colors to color preferences panel.

This commit is contained in:
Wayne Stambaugh 2020-09-24 13:43:17 -04:00
parent eaf151075c
commit feeb925e61
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ void PANEL_PCBNEW_COLOR_SETTINGS::createSwatches()
} ); } );
// Don't sort board layers by name // Don't sort board layers by name
for( int i = PCBNEW_LAYER_ID_START; i <= F_Fab; ++i ) for( int i = PCBNEW_LAYER_ID_START; i <= User_9; ++i )
m_validLayers.insert( m_validLayers.begin() + i, i ); m_validLayers.insert( m_validLayers.begin() + i, i );
BOARD* board = m_frame->GetBoard(); BOARD* board = m_frame->GetBoard();