Give unfold bus a default parameter for hotkey invocation
Fixes KICAD-2JN
This commit is contained in:
parent
10d32bb1d6
commit
0fd2efa283
|
@ -1024,11 +1024,16 @@ TOOL_ACTION EE_ACTIONS::drawBus( TOOL_ACTION_ARGS()
|
||||||
.Flags( AF_ACTIVATE )
|
.Flags( AF_ACTIVATE )
|
||||||
.Parameter( &drawBusActionParam ) );
|
.Parameter( &drawBusActionParam ) );
|
||||||
|
|
||||||
TOOL_ACTION EE_ACTIONS::unfoldBus( "eeschema.InteractiveDrawingLineWireBus.unfoldBus",
|
TOOL_ACTION EE_ACTIONS::unfoldBus( TOOL_ACTION_ARGS()
|
||||||
AS_GLOBAL,
|
.Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
|
||||||
'C', LEGACY_HK_NAME( "Unfold from Bus" ),
|
.Scope( AS_GLOBAL )
|
||||||
_( "Unfold from Bus" ), _( "Break a wire out of a bus" ),
|
.DefaultHotkey( 'C' )
|
||||||
BITMAPS::INVALID_BITMAP, AF_ACTIVATE );
|
.LegacyHotkeyName( "Unfold from Bus" )
|
||||||
|
.MenuText( _( "Unfold from Bus" ) )
|
||||||
|
.Tooltip( _( "Break a wire out of a bus" ) )
|
||||||
|
.Icon( BITMAPS::INVALID_BITMAP )
|
||||||
|
.Flags( AF_ACTIVATE )
|
||||||
|
.Parameter<wxString*>( nullptr ) );
|
||||||
|
|
||||||
const DRAW_SEGMENT_EVENT_PARAMS drawLinesActionParam = { LAYER_NOTES, false, nullptr };
|
const DRAW_SEGMENT_EVENT_PARAMS drawLinesActionParam = { LAYER_NOTES, false, nullptr };
|
||||||
TOOL_ACTION EE_ACTIONS::drawLines( TOOL_ACTION_ARGS()
|
TOOL_ACTION EE_ACTIONS::drawLines( TOOL_ACTION_ARGS()
|
||||||
|
|
Loading…
Reference in New Issue