Commit e7ece9c0 authored by dickelbeck's avatar dickelbeck
Browse files

SetToolbars() sanity

parent f95962f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -660,7 +660,7 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse )
        RedrawActiveWindow( DC, TRUE );
    }

    // SetToolbars();
    SetToolbars();

    Affiche_Status_Box();    /* Display new cursor coordinates */
}
+1 −1
Original line number Diff line number Diff line
@@ -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 )
    {