Clear dimension pointer after committing.
Fixes https://gitlab.com/kicad/code/kicad/issues/11864
(cherry picked from commit b80fd5329d)
This commit is contained in:
@@ -989,6 +989,7 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
|
||||
|
||||
if( ++step >= FINISHED )
|
||||
{
|
||||
dimension = nullptr;
|
||||
step = SET_ORIGIN;
|
||||
m_controls->SetAutoPan( false );
|
||||
m_controls->CaptureCursor( false );
|
||||
|
||||
Reference in New Issue
Block a user