Fully cancel copy with reference
Tool needs to be popped when cancelling to allow selection tool to work properly. Fixes https://gitlab.com/kicad/code/kicad/issues/9353
This commit is contained in:
parent
4d89061d4c
commit
62cb5d9354
|
@ -2458,7 +2458,10 @@ int EDIT_TOOL::copyToClipboard( const TOOL_EVENT& aEvent )
|
|||
_( "Selection copied" ),
|
||||
_( "Copy canceled" ),
|
||||
refPoint ) )
|
||||
{
|
||||
frame()->PopTool( tool );
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue