Allow teardrops only if advanced config define AllowTeardrops=1
This commit is contained in:
parent
d42514ad30
commit
5644f236d8
|
@ -402,12 +402,16 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
|
|||
toolsMenu->Add( ACTIONS::showFootprintEditor );
|
||||
toolsMenu->Add( PCB_ACTIONS::updateFootprints );
|
||||
|
||||
|
||||
toolsMenu->AppendSeparator();
|
||||
toolsMenu->Add( _( "Add Teardrops" ), "",
|
||||
ID_RUN_TEARDROP_TOOL, BITMAPS::via );
|
||||
toolsMenu->Add( _( "Remove Teardrops" ), "",
|
||||
ID_REMOVE_TEARDROP_TOOL, BITMAPS::via );
|
||||
// Currently: available only with advanced_config m_AllowTeardrops = true
|
||||
// (AllowTeardrops = 1)
|
||||
if( ADVANCED_CFG::GetCfg().m_AllowTeardrops )
|
||||
{
|
||||
toolsMenu->AppendSeparator();
|
||||
toolsMenu->Add( _( "Add Teardrops" ), "",
|
||||
ID_RUN_TEARDROP_TOOL, BITMAPS::via );
|
||||
toolsMenu->Add( _( "Remove Teardrops" ), "",
|
||||
ID_REMOVE_TEARDROP_TOOL, BITMAPS::via );
|
||||
}
|
||||
|
||||
toolsMenu->AppendSeparator();
|
||||
toolsMenu->Add( PCB_ACTIONS::cleanupTracksAndVias );
|
||||
|
|
Loading…
Reference in New Issue