Eeschema: fix issue (2 tools not working in left vertical toolbar) created by commit 7e6a6540c8
This commit is contained in:
parent
d85cf732b6
commit
2e79b93b99
|
@ -318,15 +318,14 @@ void SCH_EDIT_FRAME::ReCreateOptToolbar()
|
|||
|
||||
void SCH_EDIT_FRAME::OnSelectOptionToolbar( wxCommandEvent& event )
|
||||
{
|
||||
if( m_canvas )
|
||||
return;
|
||||
|
||||
int id = event.GetId();
|
||||
|
||||
switch( id )
|
||||
{
|
||||
case ID_TB_OPTIONS_HIDDEN_PINS:
|
||||
m_showAllPins = m_optionsToolBar->GetToolToggled( id );
|
||||
|
||||
if( m_canvas )
|
||||
m_canvas->Refresh();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue