diff --git a/eeschema/sch_base_frame.cpp b/eeschema/sch_base_frame.cpp index af56b3811e..e2c0ff145a 100644 --- a/eeschema/sch_base_frame.cpp +++ b/eeschema/sch_base_frame.cpp @@ -638,7 +638,7 @@ void SCH_BASE_FRAME::setSymWatcher( const LIB_ID* aID ) wxString libfullname; SYMBOL_LIB_TABLE* tbl = Prj().SchSymbolLibTable(); - if( !aId || !tbl ) + if( !aID || !tbl ) return; try