kicad/eeschema
Seth Hillbrand c8b2e69332 Check if selection is primary tool
Previously, we were checking if the selection tool was the top of the
stack but this ignored many other "secondary" tools that might be
running such as the point editor.  These still allow the selection tool
to handle events such as clicks.  This change allows the selection tool
to handle clicks when it is the primary tool on the stack rather than
the top

Fixes https://gitlab.com/kicad/code/kicad/issues/9110
2021-09-07 10:42:01 -07:00
..
dialogs Minor dialog layout improvements. 2021-09-07 08:06:02 -04:00
netlist_exporters Remove broken RefDesStringCompare 2021-09-01 11:48:01 -07:00
plugins Eeschema: add python script netlist_form_OrcadPcb2.py and netlist_form_pads-pcb-asc.py 2021-09-02 17:15:49 +02:00
sch_plugins Repair saving of default line styles. 2021-09-07 00:14:18 +01:00
sim Simulator: Use last workbook path stored in .kicad_pro as initial path in dialogs 2021-08-20 23:23:23 +00:00
symbol_editor Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
tools Check if selection is primary tool 2021-09-07 10:42:01 -07:00
widgets Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
CMakeLists.txt Don't use REALPATH to find shared/dynamic libraries 2021-08-24 11:44:56 -07:00
annotate.cpp The REPORTER interface is inherently line-based. 2021-07-05 13:41:06 +01:00
autoplace_fields.cpp Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
bom_plugins.cpp Pass configured Python interpreter in to use for BOM plugins 2021-06-15 22:52:16 -04:00
bom_plugins.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
bus-wire-junction.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
bus_alias.cpp Use kicad_algo directly rather than common.h 2020-10-24 08:53:11 -04:00
bus_alias.h More NULL expunging. 2021-07-16 16:13:41 -04:00
cmp_library.keywords
cmp_library_lexer.cpp Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
component_references_lister.cpp Replace RefDesCmp with better StrNumCmp 2021-09-01 11:48:01 -07:00
connection_graph.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
connection_graph.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
cross-probing.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
default_values.h Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
ee_collectors.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
ee_collectors.h More NULL expunging. 2021-07-16 16:13:41 -04:00
eeschema.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
eeschema.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
eeschema_config.cpp Attempt to untangle junction dot preferences. 2021-09-02 12:41:16 +01:00
eeschema_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
eeschema_id.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
eeschema_settings.cpp Fix some issues in dialog_netlist.cpp , round 2 (work in progress) 2021-09-05 16:13:52 +02:00
eeschema_settings.h PCM: make DIALOG_MANAGE_REPOSITORIES_BASE resizable. 2021-09-06 08:36:06 +02:00
erc.cpp Fix flagging power pin in ERC check 2021-08-21 11:19:09 -04:00
erc.h Naming conventions. 2021-05-05 22:58:40 +01:00
erc_item.cpp Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
erc_item.h Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
erc_settings.cpp Rework JSON integration to speed up build 2021-06-05 17:08:38 -04:00
erc_settings.h Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
fields_grid_table.cpp Sigh. Values in the LibEdit are LIB_IDs; in Eeschema they are not. 2021-09-05 21:23:55 +01:00
fields_grid_table.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
files-io.cpp Work-around incorrect spacing (and order) of buttons on Mac. 2021-08-31 22:39:25 +01:00
general.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
generate_alias_info.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
generate_alias_info.h Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
getpart.cpp A bit more Part -> Symbol. 2021-06-17 22:24:41 +01:00
hierarch.cpp Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
hierarch.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
invoke_sch_dialog.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
lib_arc.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_arc.h Altium schematic import: text positioning and arc fixes 2021-07-26 19:49:56 +00:00
lib_bezier.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_bezier.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_circle.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_circle.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_field.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_field.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_item.cpp Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_item.h Clean up (yes, yet again) the default pen width handling. 2021-08-17 11:59:50 +01:00
lib_pin.cpp Clean up (yes, yet again) the default pen width handling. 2021-08-17 11:59:50 +01:00
lib_pin.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
lib_polyline.cpp Fix logic error in polyline hittesting. 2021-09-01 21:38:32 +01:00
lib_polyline.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_rectangle.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_rectangle.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
lib_symbol.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_symbol.h More NULL expunging. 2021-07-16 16:13:41 -04:00
lib_text.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
lib_text.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
libarch.cpp A bit more Part -> Symbol. 2021-06-17 22:24:41 +01:00
menubar.cpp Fix several bugs and refactor schematic saving 2021-08-23 23:01:08 -04:00
pin_numbers.cpp Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
pin_numbers.h Remove cover type; capitalize class name; make filename equal classname. 2021-07-28 22:16:38 +01:00
pin_type.cpp Avoid sharing gdicmn for just bitmaps 2021-06-03 01:46:04 -04:00
pin_type.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
project_rescue.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
project_rescue.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_base_frame.cpp Attempt to untangle junction dot preferences. 2021-09-02 12:41:16 +01:00
sch_base_frame.h Attempt to untangle junction dot preferences. 2021-09-02 12:41:16 +01:00
sch_bitmap.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_bitmap.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_bus_entry.cpp Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
sch_bus_entry.h First take at repairing Eagle import of bus entries. 2021-06-15 23:23:47 +01:00
sch_connection.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
sch_connection.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
sch_draw_panel.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
sch_draw_panel.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
sch_edit_frame.cpp Attempt to untangle junction dot preferences. 2021-09-02 12:41:16 +01:00
sch_edit_frame.h Attempt to untangle junction dot preferences. 2021-09-02 12:41:16 +01:00
sch_field.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_field.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_file_versions.h Convert overbar syntax in bus aliases. 2021-06-21 20:13:21 +01:00
sch_io_mgr.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_io_mgr.h File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
sch_item.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_item.h Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
sch_junction.cpp Disambiguate JunctionDiameter from EffectiveJunctionDiameter. 2021-08-31 12:18:02 +01:00
sch_junction.h Disambiguate JunctionDiameter from EffectiveJunctionDiameter. 2021-08-31 12:18:02 +01:00
sch_line.cpp Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
sch_line.h Pass objects by reference instead of on the stack. 2021-06-08 10:09:38 -04:00
sch_marker.cpp Pass objects by reference instead of on the stack. 2021-06-08 10:09:38 -04:00
sch_marker.h Pass objects by reference instead of on the stack. 2021-06-08 10:09:38 -04:00
sch_no_connect.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_no_connect.h Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
sch_painter.cpp Use same text positioning algorithm in LibEdit and Eeschema. 2021-09-07 12:33:06 +01:00
sch_painter.h Split global label size expansion from TextOffset setting 2021-08-02 16:40:36 +00:00
sch_pin.cpp Make sure pin hittest regions don't get too hard to hit. 2021-07-01 15:43:19 +01:00
sch_pin.h Separate LIB_PIN and SCH_PIN GetShownName/Number processing. 2021-06-17 10:52:46 +01:00
sch_plugin.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_preview_panel.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
sch_preview_panel.h Reduce some eda_item.h usage in headers 2021-06-06 11:09:06 -04:00
sch_reference_list.h Remove broken RefDesStringCompare 2021-09-01 11:48:01 -07:00
sch_rtree.h Add clarifying comments to EE_RTREE ordering 2021-08-20 08:49:43 -07:00
sch_screen.cpp Ensure sheets are deterministically sorted 2021-08-20 08:31:01 -07:00
sch_screen.h Add clarifying comments to EE_RTREE ordering 2021-08-20 08:49:43 -07:00
sch_sheet.cpp Search sheets in hierarchy-order 2021-08-27 13:03:18 -07:00
sch_sheet.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
sch_sheet_path.cpp Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
sch_sheet_path.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
sch_sheet_pin.cpp Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
sch_sheet_pin.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_symbol.cpp Eeschema, Add new symbol to schematics: update Value and Footprint texts 2021-08-25 15:13:40 +02:00
sch_symbol.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
sch_text.cpp Repair label incrementer to handle formatting constructs. 2021-08-19 00:08:37 +01:00
sch_text.h Split global label size expansion from TextOffset setting 2021-08-02 16:40:36 +00:00
sch_text_help.md Fix issues with new overbar syntax 2021-09-01 20:25:39 +01:00
sch_validators.cpp Smarten regex to include overbar, superscript and subscript. 2021-07-05 20:26:05 +01:00
sch_validators.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
sch_view.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
sch_view.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
schematic.cpp Clean up Altium special string handling 2021-07-08 15:34:38 +01:00
schematic.h Allow titleblock vars to be resolved outside the titleblock. 2021-07-06 13:30:17 +01:00
schematic.keywords Persist fields_autoplaced information. 2021-04-02 17:08:58 +01:00
schematic_settings.cpp Attempt to untangle junction dot preferences. 2021-09-02 12:41:16 +01:00
schematic_settings.h Attempt to untangle junction dot preferences. 2021-09-02 12:41:16 +01:00
schematic_undo_redo.cpp Eeschema: remove unused and unnecessary code. 2021-08-11 14:30:29 -04:00
sheet.cpp Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
symbol_async_loader.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
symbol_async_loader.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00
symbol_lib_table.cpp More error message regularization (and translatability improvements). 2021-06-28 00:45:24 +01:00
symbol_lib_table.h More NULL expunging. 2021-07-16 16:13:41 -04:00
symbol_library.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
symbol_library.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
symbol_tree_model_adapter.cpp Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
symbol_tree_model_adapter.h Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
symbol_tree_synchronizing_adapter.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
symbol_tree_synchronizing_adapter.h Remove and re-add saved-as libraries when Syncing tree. 2021-01-31 23:00:17 +00:00
symbol_viewer_frame.cpp Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
symbol_viewer_frame.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
toolbars_sch_editor.cpp Centralizing SCRIPTING class 2021-06-01 20:18:24 +00:00
toolbars_symbol_viewer.cpp Rename class_library.[h|cpp] to symbol_library.[h|cpp]. 2021-06-15 09:24:55 -04:00
transform.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
transform.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00