Browse Source

SetToolbars() sanity

pull/1/head
dickelbeck 18 years ago
parent
commit
e7ece9c017
  1. 2
      pcbnew/controle.cpp
  2. 2
      pcbnew/tool_pcb.cpp

2
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 */
}

2
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 )
{

Loading…
Cancel
Save