Fix segfault when placing pins in libedit.

This commit is contained in:
Marco Mattila 2011-02-15 20:34:28 +02:00
parent 821b8b65ec
commit a609f2606f
1 changed files with 1 additions and 1 deletions

View File

@ -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 );