In eeschema, when inserting a component into the schematic using the
Library Browser tool, you have to select it in the components listbox and then press the "Insert component into schematic" button to close the window and return to the schematic. The attached patch enables the selection and insertion of a component in schematic by double clicking on it in the Library Browser component listbox. As the double clicking should have effect only if the Library Browser was launched to load a component in schematic, the patch checks for NULL the m_Semaphore variable, used two distinguish the mode in which the Library Browser is running (modal, used when inserting a component in schematic, or non-modal).
Showing
Please register or sign in to comment