Fix segfault when placing pins in libedit.
This commit is contained in:
parent
821b8b65ec
commit
a609f2606f
|
@ -249,7 +249,7 @@ another pin. Continue?" ) );
|
||||||
else
|
else
|
||||||
SaveCopyInUndoList( m_component );
|
SaveCopyInUndoList( m_component );
|
||||||
|
|
||||||
DrawPanel->EndMouseCapture();
|
DrawPanel->SetMouseCapture( NULL, NULL );
|
||||||
OnModify();
|
OnModify();
|
||||||
CurrentPin->SetPosition( newpos );
|
CurrentPin->SetPosition( newpos );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue