kicad/eeschema/libedit
Wayne Stambaugh 3e431d0d39 Symbol editor: fix inherited symbol editing bug.
The library manager update part function was orphaning the root symbol
of derived symbols when the root symbol was edited.  Re-parent the
inherited symbols when updating a root symbol.

Update the mandatory field attributes whenever the parent is set for
derived parts.  This will show the fields with the correct attributes
in the symbol editor and viewer.

Using std::unique_ptr to hold the current symbols was deleting the
pointer on symbol selection changes causing the pointer in the library
manager buffer to be stale in some cases.  Revert back to using a
simple pointer and manual clean up as required.

Prevent derived symbols from being saved to a different library to
prevent orphaned symbols.

Fixes kicad/code/kicad#3649
2019-12-13 16:51:59 -05:00
..
lib_edit_frame.cpp Symbol editor: fix inherited symbol editing bug. 2019-12-13 16:51:59 -05:00
lib_edit_frame.h Symbol editor: fix inherited symbol editing bug. 2019-12-13 16:51:59 -05:00
lib_export.cpp Implement simple inheritance for library symbols. 2019-12-06 11:33:52 -05:00
lib_manager.cpp Symbol editor: fix inherited symbol editing bug. 2019-12-13 16:51:59 -05:00
lib_manager.h Symbol editor: fix crash caused by broken root symbol name. 2019-12-12 10:45:12 -05:00
libedit.cpp Symbol editor: fix inherited symbol editing bug. 2019-12-13 16:51:59 -05:00
libedit_plot_component.cpp Implement simple inheritance for library symbols. 2019-12-06 11:33:52 -05:00
libedit_undo_redo.cpp Symbol editor: fix inherited symbol editing bug. 2019-12-13 16:51:59 -05:00
menubar_libedit.cpp Implement simple inheritance for library symbols. 2019-12-06 11:33:52 -05:00
symbedit.cpp Symbol editor: fix inherited symbol editing bug. 2019-12-13 16:51:59 -05:00
toolbars_libedit.cpp Implement simple inheritance for library symbols. 2019-12-06 11:33:52 -05:00