Clear IS_NEW flag after placing pin so the tool knows we're no longer drawing.
Fixes: lp:1834376 * https://bugs.launchpad.net/kicad/+bug/1834376
This commit is contained in:
parent
2ad40ad10a
commit
5e40de9357
|
@ -176,12 +176,12 @@ int LIB_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
|
|||
break;
|
||||
case LIB_TEXT_T:
|
||||
part->AddDrawItem( (LIB_TEXT*) item );
|
||||
item->ClearEditFlags();
|
||||
break;
|
||||
default:
|
||||
wxFAIL_MSG( "TwoClickPlace(): unknown type" );
|
||||
}
|
||||
|
||||
item->ClearEditFlags();
|
||||
item = nullptr;
|
||||
m_view->ClearPreview();
|
||||
|
||||
|
|
Loading…
Reference in New Issue