kicad/common/tool
Maciej Suminski 1d8730752c Restore valid force cursor setting before saving VIEW_CONTROLS settings
There are times, when TOOL_MANAGER has to force cursor position
to make tools work as expected (e.g. when popping up a menu,
so tools get the right click position instead of current position
pointing to an entry in the menu).

If another tool is invoked, VIEW_CONTROLS settings have to be stored
in the TOOL_STATE object. In such case, it is necessary to revert the
force cursor setting when saving VIEW_CONTROLS settings.

Fixes: lp:1668712
* https://bugs.launchpad.net/kicad/+bug/1668712
2017-03-02 12:07:09 +01:00
..
action_manager.cpp Replace BOOST_FOREACH with C++11 range based for. 2016-06-29 16:07:55 -04:00
actions.cpp Add cancel interactive tool action to GAL 2017-02-24 10:37:07 +01:00
common_tools.cpp GAL: better progression between zoom in/zoom out (in/out/in sequence keeps the same zoom value) 2017-03-01 13:00:42 +01:00
conditional_menu.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
context_menu.cpp Removed a few more headers from base_struct.h 2017-02-22 17:54:01 +01:00
grid_menu.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
selection_conditions.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
tool_action.cpp Fixed an assert when footprint viewer was closed before the pcbnew window. 2015-07-28 10:29:00 +02:00
tool_base.cpp TOOL_SETTINGS acquires wxConfigBase each time it is used. 2015-08-07 18:17:51 +02:00
tool_dispatcher.cpp Refactor COMMON_ACTIONS into a base and derived class 2017-02-22 10:32:48 +01:00
tool_event.cpp Split the undo/redo event into the two stages "pre" and "post" for convenient synchronization of dependent state. 2016-09-23 13:29:25 +02:00
tool_interactive.cpp Disable context menu trigger if the assigned menu is set to null 2017-02-24 13:32:43 +01:00
tool_manager.cpp Restore valid force cursor setting before saving VIEW_CONTROLS settings 2017-03-02 12:07:09 +01:00
tool_menu.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
zoom_menu.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00