diff --git a/eeschema/tools/lib_drawing_tools.cpp b/eeschema/tools/lib_drawing_tools.cpp index e0fffdeab9..2b6fc69835 100644 --- a/eeschema/tools/lib_drawing_tools.cpp +++ b/eeschema/tools/lib_drawing_tools.cpp @@ -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();