diff --git a/eeschema/symbol_library_manager.cpp b/eeschema/symbol_library_manager.cpp index 5d409110c3..e8fbea1dd9 100644 --- a/eeschema/symbol_library_manager.cpp +++ b/eeschema/symbol_library_manager.cpp @@ -528,7 +528,8 @@ LIB_ID SYMBOL_LIBRARY_MANAGER::RevertSymbol( const wxString& aAlias, const wxStr } else { - symbolBuf->SetSymbol( new LIB_SYMBOL( original ) ); + // copy the initial data to the current symbol to restore + *symbolBuf->GetSymbol() = original; OnDataChanged(); }