Exit point editor after an <esc> while dragging.

Fixes: lp:1836652
* https://bugs.launchpad.net/kicad/+bug/1836652
This commit is contained in:
Jeff Young 2019-07-16 01:09:10 +01:00
parent e816a0c29d
commit 3069fd5974
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ int EE_POINT_EDITOR::Main( const TOOL_EVENT& aEvent )
rollbackFromUndo(); rollbackFromUndo();
inDrag = false; inDrag = false;
modified = false; modified = false;
break;
} }
else if( evt->IsCancelInteractive() ) else if( evt->IsCancelInteractive() )
break; break;