|
|
|
@ -793,6 +793,13 @@ bool LIB_EDIT_FRAME::OnHotKey( wxDC* aDC, int aHotKey, const wxPoint& aPosition, |
|
|
|
break; |
|
|
|
|
|
|
|
case HK_DELETE: |
|
|
|
if( blocInProgress ) |
|
|
|
{ |
|
|
|
cmd.SetId( ID_POPUP_DELETE_BLOCK ); |
|
|
|
Process_Special_Functions( cmd ); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
if( !itemInEdit ) |
|
|
|
SetDrawItem( LocateItemUsingCursor( aPosition ) ); |
|
|
|
|
|
|
|
@ -801,6 +808,7 @@ bool LIB_EDIT_FRAME::OnHotKey( wxDC* aDC, int aHotKey, const wxPoint& aPosition, |
|
|
|
cmd.SetId( ID_POPUP_LIBEDIT_DELETE_ITEM ); |
|
|
|
Process_Special_Functions( cmd ); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
|
|
|
|
case HK_LIBEDIT_MOVE_GRAPHIC_ITEM: |
|
|
|
|