Browse Source
eeschema: Prevent invalid '0' element in components
eeschema: Prevent invalid '0' element in components
In the component, an m_unit/m_convert element is 1-indexed as opposed to the library where they are 0-indexed. The 0-index in the library is reserved for those elements that are shared across all conversion/unit whereas it is invalid for the component. Fixes: lp:1824764 * https://bugs.launchpad.net/kicad/+bug/1824764pull/14/head
8 changed files with 27 additions and 26 deletions
-
2eeschema/class_libentry.cpp
-
14eeschema/dialogs/dialog_edit_component_in_schematic.cpp
-
8eeschema/getpart.cpp
-
6eeschema/lib_draw_item.cpp
-
5eeschema/lib_draw_item.h
-
4eeschema/sch_component.cpp
-
10eeschema/viewlib_frame.cpp
-
4eeschema/viewlibs.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue