diff --git a/pcbnew/tools/pcb_actions.cpp b/pcbnew/tools/pcb_actions.cpp index c777dc9470..c0f39c0529 100644 --- a/pcbnew/tools/pcb_actions.cpp +++ b/pcbnew/tools/pcb_actions.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -1522,8 +1523,10 @@ TOOL_ACTION PCB_ACTIONS::selectionActivate( "pcbnew.InteractiveSelection", AS_GLOBAL, 0, "", "", "", // No description, not shown anywhere BITMAPS::INVALID_BITMAP, AF_ACTIVATE ); -TOOL_ACTION PCB_ACTIONS::selectionCursor( "pcbnew.InteractiveSelection.Cursor", - AS_GLOBAL ); +TOOL_ACTION PCB_ACTIONS::selectionCursor( TOOL_ACTION_ARGS() + .Name( "pcbnew.InteractiveSelection.Cursor" ) + .Scope( AS_GLOBAL ) + .Parameter( nullptr ) ); TOOL_ACTION PCB_ACTIONS::selectItem( "pcbnew.InteractiveSelection.SelectItem", AS_GLOBAL );