Warp pointer after context-menu duplicate.

This commit is contained in:
Jeff Young 2018-09-07 16:53:56 +01:00
parent 1e3a5c1b21
commit 808beed191
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <sch_edit_frame.h>
#include <sch_component.h>
#include <sch_text.h>
#include <view/view_controls.h>
void SCH_EDIT_FRAME::OnCopySchematicItemRequest( wxCommandEvent& event )
@ -43,6 +44,7 @@ void SCH_EDIT_FRAME::OnCopySchematicItemRequest( wxCommandEvent& event )
if( !curr_item || curr_item->GetFlags() )
return;
GetCanvas()->GetViewControls()->SetCursorPosition( GetCrossHairPosition() );
switch( curr_item->Type() )
{