Commit a609f260 authored by Marco Mattila's avatar Marco Mattila

Fix segfault when placing pins in libedit.

parent 821b8b65
...@@ -249,7 +249,7 @@ another pin. Continue?" ) ); ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment