Pcbnew: add user defined layer colors to color preferences panel.
This commit is contained in:
parent
eaf151075c
commit
feeb925e61
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue