forward the event

This commit is contained in:
Kristoffer Ödmark 2017-09-18 22:32:06 +02:00 committed by Tomasz Włostowski
parent 4ce38abce2
commit 79d81ae9ff
1 changed files with 1 additions and 3 deletions

View File

@ -1304,9 +1304,7 @@ int EDIT_TOOL::copyToClipboard( const TOOL_EVENT& aEvent )
int EDIT_TOOL::cutToClipboard( const TOOL_EVENT& aEvent )
{
copyToClipboard( aEvent );
TOOL_EVENT ev;
ev.SetParameter( PCB_ACTIONS::REMOVE_FLAGS::NORMAL );
Remove( ev );
Remove( aEvent );
return 0;
}