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 ) int EDIT_TOOL::cutToClipboard( const TOOL_EVENT& aEvent )
{ {
copyToClipboard( aEvent ); copyToClipboard( aEvent );
TOOL_EVENT ev; Remove( aEvent );
ev.SetParameter( PCB_ACTIONS::REMOVE_FLAGS::NORMAL );
Remove( ev );
return 0; return 0;
} }