Fix a typo that was keeping units refresh from working.
Fixes https://gitlab.com/kicad/code/kicad/issues/4249
This commit is contained in:
parent
7ce0b11600
commit
c8140ddb4a
|
@ -833,7 +833,7 @@ void EDA_DRAW_FRAME::RecreateToolbars()
|
|||
ReCreateOptToolbar();
|
||||
|
||||
if( m_auxiliaryToolBar ) // Additional tools under main toolbar
|
||||
ReCreateOptToolbar();
|
||||
ReCreateAuxiliaryToolbar();
|
||||
|
||||
// Update the checked state of tools
|
||||
SyncToolbars();
|
||||
|
|
|
@ -426,6 +426,7 @@ void PCB_EDIT_FRAME::ReCreateAuxiliaryToolbar()
|
|||
{
|
||||
UpdateTrackWidthSelectBox( m_SelTrackWidthBox );
|
||||
UpdateViaSizeSelectBox( m_SelViaSizeBox );
|
||||
UpdateGridSelectBox();
|
||||
|
||||
// combobox sizes can have changed: apply new best sizes
|
||||
wxAuiToolBarItem* item = m_auxiliaryToolBar->FindTool( ID_AUX_TOOLBAR_PCB_TRACK_WIDTH );
|
||||
|
|
Loading…
Reference in New Issue