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