kicad/common/tool
Seth Hillbrand 03f74c87a1 Update immediate mode location and restart wires
The immediate action option clears (or not) the position of the events.
We use this to determine if the command should start at the given
position or merely activate the tool.  This was being checked in the
menu options, which only activated for tool commands in the context
menu.  Moving to the process event, we catch hotkeys as well.

This also restores the previous logic in eeschema that used a static
variable for storing wires rather than the private class variable.
Starting the draw event now picks up from the existing wires when
activated in immediate mode.

Fixes #3891 | https://gitlab.com/kicad/code/kicad/issues/3891
2020-02-11 09:12:36 -08:00
..
action_manager.cpp Run all matching global actions for a hotkey 2019-09-18 09:21:43 -04:00
action_menu.cpp Update immediate mode location and restart wires 2020-02-11 09:12:36 -08:00
action_toolbar.cpp CERN copyrights for work packages. 2019-08-14 09:35:15 +01:00
actions.cpp Eeschema: Adding back annotation 2020-01-29 16:33:57 +00:00
common_control.cpp Kicad manager: Avoid crash when calling configure paths or libraries from main menu, 2020-02-06 11:41:21 +01:00
common_tools.cpp Switch to scoped enums 2019-12-20 14:11:39 +00:00
conditional_menu.cpp CERN copyrights for work packages. 2019-08-14 09:35:15 +01:00
edit_constraints.cpp Refactor all math into a new kimath library 2020-01-07 17:12:59 +00:00
edit_points.cpp Refactor all math into a new kimath library 2020-01-07 17:12:59 +00:00
grid_menu.cpp Switch to scoped enums 2019-12-20 14:11:39 +00:00
picker_tool.cpp Fix some Coverity identified issues. 2020-01-13 20:16:40 +00:00
selection_conditions.cpp Replace deleteNode and deleteConnection with selectNode and selectConnection. 2019-05-05 17:14:29 +01:00
tool_action.cpp Add a few more actions to the hotkeys list and add hotkeys to tooltips. 2019-07-07 22:30:18 +01:00
tool_base.cpp Move hotkeys to ACTION architecture. 2019-06-10 23:46:00 +01:00
tool_dispatcher.cpp pcbnew: Cleanup includes of pcbnew_id.h 2020-01-03 15:39:05 +00:00
tool_event.cpp Cleanup position handling for TOOL_EVENTs 2019-10-03 19:04:33 +01:00
tool_interactive.cpp Beware of copying events and losing the m_passEvent flag. 2019-06-17 14:44:39 +01:00
tool_manager.cpp Update immediate mode location and restart wires 2020-02-11 09:12:36 -08:00
tool_menu.cpp Beware of copying events and losing the m_passEvent flag. 2019-06-17 14:44:39 +01:00
zoom_menu.cpp Immediate-action hotkeys (and context menu actions) for eeschema. 2019-06-15 20:43:51 +01:00
zoom_tool.cpp A more robust fix for 36f1d023f0. 2019-07-15 14:15:24 +01:00