Add parameter to repair board action
The tool checks for a boolean action, so default to giving false (which makes it run in interactive mode).
This commit is contained in:
parent
d66d1f2d6d
commit
8b833211b5
|
@ -411,7 +411,7 @@ TOOL_ACTION PCB_ACTIONS::deleteFull( TOOL_ACTION_ARGS()
|
||||||
.Tooltip( _( "Deletes selected item(s) and copper connections" ) )
|
.Tooltip( _( "Deletes selected item(s) and copper connections" ) )
|
||||||
.Icon( BITMAPS::delete_cursor )
|
.Icon( BITMAPS::delete_cursor )
|
||||||
.Flags( AF_NONE )
|
.Flags( AF_NONE )
|
||||||
.Parameter( REMOVE_FLAGS::ALT ) );
|
.Parameter( PCB_ACTIONS::REMOVE_FLAGS::ALT ) );
|
||||||
|
|
||||||
TOOL_ACTION PCB_ACTIONS::properties( "pcbnew.InteractiveEdit.properties",
|
TOOL_ACTION PCB_ACTIONS::properties( "pcbnew.InteractiveEdit.properties",
|
||||||
AS_GLOBAL,
|
AS_GLOBAL,
|
||||||
|
@ -1342,11 +1342,13 @@ TOOL_ACTION PCB_ACTIONS::boardReannotate( "pcbnew.ReannotateTool.ShowReannotateD
|
||||||
_( "Geographical Reannotate..." ), _( "Reannotate PCB in geographical order" ),
|
_( "Geographical Reannotate..." ), _( "Reannotate PCB in geographical order" ),
|
||||||
BITMAPS::annotate );
|
BITMAPS::annotate );
|
||||||
|
|
||||||
TOOL_ACTION PCB_ACTIONS::repairBoard( "pcbnew.Control.repairBoard",
|
TOOL_ACTION PCB_ACTIONS::repairBoard( TOOL_ACTION_ARGS()
|
||||||
AS_GLOBAL, 0, "",
|
.Name( "pcbnew.Control.repairBoard" )
|
||||||
_( "Repair Board" ),
|
.Scope( AS_GLOBAL )
|
||||||
_( "Run various diagnostics and attempt to repair board" ),
|
.MenuText( _( "Repair Board" ) )
|
||||||
BITMAPS::rescue );
|
.Tooltip( _( "Run various diagnostics and attempt to repair board" ) )
|
||||||
|
.Icon( BITMAPS::rescue )
|
||||||
|
.Parameter( false ) ); // Don't repair quietly
|
||||||
|
|
||||||
TOOL_ACTION PCB_ACTIONS::repairFootprint( "pcbnew.ModuleEditor.repairFootprint",
|
TOOL_ACTION PCB_ACTIONS::repairFootprint( "pcbnew.ModuleEditor.repairFootprint",
|
||||||
AS_GLOBAL, 0, "",
|
AS_GLOBAL, 0, "",
|
||||||
|
|
Loading…
Reference in New Issue