GAL module editor selects the front silkscreen layer by default.

This commit is contained in:
Maciej Suminski 2014-09-01 13:48:10 +02:00
parent 3814cdaff1
commit b86ac3b3ab
1 changed files with 7 additions and 3 deletions

View File

@ -290,12 +290,16 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
m_toolManager->ResetTools( TOOL_BASE::RUN );
m_toolManager->InvokeTool( "pcbnew.InteractiveSelection" );
m_Layers->ReFill();
m_Layers->ReFillRender();
GetScreen()->m_Active_Layer = F_SilkS;
m_Layers->SelectLayer( F_SilkS );
m_Layers->OnLayerSelected();
UseGalCanvas( true );
}
m_Layers->ReFill();
m_Layers->ReFillRender();
m_auimgr.Update();
Zoom_Automatique( true );