From 2300697f0297ac64dd2ec3b38882bc670fbaef01 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 3 Jul 2017 17:58:07 +0200 Subject: [PATCH] Added 'Cut Block' to right-click menu in eeschema --- eeschema/onrightclick.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eeschema/onrightclick.cpp b/eeschema/onrightclick.cpp index 365b55f06b..c6aec06227 100644 --- a/eeschema/onrightclick.cpp +++ b/eeschema/onrightclick.cpp @@ -841,6 +841,9 @@ void AddMenusForBlock( wxMenu* PopMenu, SCH_EDIT_FRAME* frame ) // a block function. if( frame->GetScreen()->m_BlockLocate.GetCommand() == BLOCK_MOVE ) { + msg = AddHotkeyName( _( "Cut Block" ), g_Schematic_Hokeys_Descr, + HK_CUT_BLOCK ); + AddMenuItem( PopMenu, wxID_CUT, msg, KiBitmap( cut_xpm ) ); msg = AddHotkeyName( _( "Copy Block" ), g_Schematic_Hokeys_Descr, HK_COPY_BLOCK ); AddMenuItem( PopMenu, wxID_COPY, msg, KiBitmap( copy_xpm ) );