PANEL_SETUP_LAYERS:do not disable the button "Add User Defined Layer".
For boards having 2 or 4 layers this button was disabled, that make no sense.
This commit is contained in:
parent
4cb28823d6
commit
dd3b5512ee
|
@ -922,7 +922,7 @@ void PANEL_SETUP_LAYERS::onUpdateAddUserDefinedLayer( wxUpdateUIEvent& event )
|
|||
{
|
||||
wxArrayString availableUserDefinedLayers = getAvailableUserDefinedLayers();
|
||||
|
||||
event.Enable( m_PresetsChoice->GetSelection() == 0 && !availableUserDefinedLayers.IsEmpty() );
|
||||
event.Enable( !availableUserDefinedLayers.IsEmpty() );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue