Jeff Young
3c1af1af74
Update selected tool string when language changes.
Fixes https://gitlab.com/kicad/code/kicad/issues/8813
4 years ago
Ian McInerney
dc27079b71
cleanup tool event and tool action includes
5 years ago
Seth Hillbrand
0bab025832
Fixup toolchaining for immediate mode
The move tool can stack on others, so when we re-enter the previous tool
this caused another immediate action. We flag re-entry in the tool
stack to check for this and avoid unexpected tool starts
5 years ago
Jeff Young
7d6a749285
Implement a more aggressive re-entrancy check for SCH drawing tools.
Fixes https://gitlab.com/kicad/code/kicad/issues/7259
5 years ago
Jeff Young
b576ccef61
Don't double-up tools on tool stack.
Also make sure move tool gets cancelled by other tools being
activated.
Fixes https://gitlab.com/kicad/code/kicad/issues/7259
5 years ago
Jeff Young
50889a9ed6
Promote mouse drag settings to full enums.
5 years ago
Jeff Young
6c648df4c6
Support 3 drag vs. select options, and unifiy with other drag prefs.
Fixes https://gitlab.com/kicad/code/kicad/issues/5493
5 years ago
Jeff Young
b8bbe72e48
Another attempt to fix the select-reference-point toolstack thing.
This time remove the push/pop from the picker tools as that's
responsible for the issue of trying to re-activate the move action
when its popped. Instead do the push/pop from the client code
of other actions that need it, and not at all from the move-with-
reference action.
Fixes https://gitlab.com/kicad/code/kicad/issues/5336
5 years ago
Jeff Young
a4ff339a1e
Clear toolstack after cancel.
Fixes https://gitlab.com/kicad/code/kicad/issues/5336
5 years ago
Jeff Young
3fd0a3f842
Update text variables even when they're changed from other binary.
For instance, you might have PCBNew open but change the variable
value through EEschema > Schematic Setup.
Fixes https://gitlab.com/kicad/code/kicad/issues/4918
6 years ago
Ian McInerney
e528769637
Move TOOLS_HOLDER into tools/ folder
Also clean up some compiler warnings
6 years ago
Jeff Young
d69ebfae49
Push tool framework base down into TOOL_HOLDER.
This allows us to use it outside of EDA_BASE_FRAMEs (in this case, in
PANEL_PREVIEW_3D.)
6 years ago