Change Eco layer name for latest kicad master

This commit is contained in:
jaseg 2020-10-09 16:32:30 +02:00
parent ce8b7a5195
commit f4d2df7dc0

View file

@ -65,7 +65,7 @@ class MeshPluginMainDialog(mesh_plugin_dialog.MainDialog):
name = board.GetLayerName(i)
self.m_layerChoice.Append(name)
self.m_maskLayerChoice.Append(name)
if name == 'Eco1.User':
if name == 'User.Eco1':
self.m_maskLayerChoice.SetSelection(i)
elif name == 'F.Cu':
self.m_layerChoice.SetSelection(i)