Eeschema: try to fix a not working tool (Paste tool on main horiz. toolbar)
Fixes #14827 https://gitlab.com/kicad/code/kicad/-/issues/14827
This commit is contained in:
parent
a4b73d74a3
commit
90c4b8bc57
|
@ -159,11 +159,13 @@ TOOL_ACTION ACTIONS::copy( "common.Interactive.copy",
|
||||||
_( "Copy" ), _( "Copy selected item(s) to clipboard" ),
|
_( "Copy" ), _( "Copy selected item(s) to clipboard" ),
|
||||||
BITMAPS::copy, AF_NONE, (void*) wxID_COPY );
|
BITMAPS::copy, AF_NONE, (void*) wxID_COPY );
|
||||||
|
|
||||||
|
// This action is also used for a tool in the main horizontal toolbar in schematic editor
|
||||||
|
// do not specify a wxID like wxID_PASTE, it prevent the tool working (at least on Windows)
|
||||||
TOOL_ACTION ACTIONS::paste( "common.Interactive.paste",
|
TOOL_ACTION ACTIONS::paste( "common.Interactive.paste",
|
||||||
AS_GLOBAL,
|
AS_GLOBAL,
|
||||||
MD_CTRL + 'V', LEGACY_HK_NAME( "Paste" ),
|
MD_CTRL + 'V', LEGACY_HK_NAME( "Paste" ),
|
||||||
_( "Paste" ), _( "Paste item(s) from clipboard" ),
|
_( "Paste" ), _( "Paste item(s) from clipboard" ),
|
||||||
BITMAPS::paste, AF_NONE, (void*) wxID_PASTE );
|
BITMAPS::paste, AF_NONE /*, (void*) wxID_PASTE*/ );
|
||||||
|
|
||||||
TOOL_ACTION ACTIONS::selectAll( "common.Interactive.selectAll",
|
TOOL_ACTION ACTIONS::selectAll( "common.Interactive.selectAll",
|
||||||
AS_GLOBAL,
|
AS_GLOBAL,
|
||||||
|
|
Loading…
Reference in New Issue