diff --git a/pcbnew/controle.cpp b/pcbnew/controle.cpp index 359b38e4b6..46d8dede97 100644 --- a/pcbnew/controle.cpp +++ b/pcbnew/controle.cpp @@ -660,7 +660,7 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse ) RedrawActiveWindow( DC, TRUE ); } - // SetToolbars(); + SetToolbars(); Affiche_Status_Box(); /* Display new cursor coordinates */ } diff --git a/pcbnew/tool_pcb.cpp b/pcbnew/tool_pcb.cpp index 8b07a1e615..72a5992b87 100644 --- a/pcbnew/tool_pcb.cpp +++ b/pcbnew/tool_pcb.cpp @@ -629,7 +629,6 @@ void WinEDA_PcbFrame::ReCreateAuxiliaryToolbar() m_SelViaSizeBox_Changed = TRUE; m_SelTrackWidthBox_Changed = TRUE; - ReCreateLayerBox( NULL ); SetToolbars(); @@ -667,6 +666,7 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent ) /**************************************************************************/ { // wxASSERT("ReCreateLayerBox"==""); // get a stack trace, who is calling me and from where + D(printf("ReCreateLayerBox\n");) if( m_SelLayerBox == NULL ) {