@ -154,8 +154,7 @@ class move_to_draw_layer( pcbnew.ActionPlugin ):
|
|||||||
if modal_result == wx.ID_OK:
|
if modal_result == wx.ID_OK:
|
||||||
LayerName = aParameters.m_comboBoxLayer.GetStringSelection()
|
LayerName = aParameters.m_comboBoxLayer.GetStringSelection()
|
||||||
LayerIndex = aParameters.m_comboBoxLayer.FindString(LayerName)
|
LayerIndex = aParameters.m_comboBoxLayer.FindString(LayerName)
|
||||||
LayerStdName = pcbnew.BOARD_GetStandardLayerName(LayerIndex)
|
# wx.LogMessage(LayerName+';'+str(LayerIndex))
|
||||||
#wx.LogMessage(LayerName+';'+str(LayerIndex)+';'+LayerStdName)
|
|
||||||
MoveToLayer(board, LayerIndex)
|
MoveToLayer(board, LayerIndex)
|
||||||
else:
|
else:
|
||||||
None # Cancel
|
None # Cancel
|
||||||
|
Reference in New Issue
Block a user