Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
568fc74a
Commit
568fc74a
authored
Jul 15, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clicking on the Selection Tool toolbar button deactivates the current tool (GAL).
parent
a1e08ae5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
common_actions.cpp
pcbnew/tools/common_actions.cpp
+7
-0
common_actions.h
pcbnew/tools/common_actions.h
+1
-0
No files found.
pcbnew/tools/common_actions.cpp
View file @
568fc74a
...
...
@@ -313,6 +313,10 @@ TOOL_ACTION COMMON_ACTIONS::moduleTextOutlines( "pcbnew.ModuleEditor.textOutline
// Miscellaneous
TOOL_ACTION
COMMON_ACTIONS
::
selectionTool
(
"pcbnew.Control.selectionTool"
,
AS_GLOBAL
,
' '
,
""
,
""
,
AF_ACTIVATE
);
TOOL_ACTION
COMMON_ACTIONS
::
resetCoords
(
"pcbnew.Control.resetCoords"
,
AS_GLOBAL
,
' '
,
""
,
""
);
...
...
@@ -470,6 +474,9 @@ boost::optional<TOOL_EVENT> COMMON_ACTIONS::TranslateLegacyId( int aId )
case
ID_TB_OPTIONS_SELECT_CURSOR
:
return
COMMON_ACTIONS
::
switchCursor
.
MakeEvent
();
case
ID_NO_TOOL_SELECTED
:
return
COMMON_ACTIONS
::
selectionTool
.
MakeEvent
();
case
ID_PCB_DELETE_ITEM_BUTT
:
case
ID_PCB_HIGHLIGHT_BUTT
:
case
ID_PCB_SHOW_1_RATSNEST_BUTT
:
...
...
pcbnew/tools/common_actions.h
View file @
568fc74a
...
...
@@ -201,6 +201,7 @@ public:
static
TOOL_ACTION
moduleTextOutlines
;
// Miscellaneous
static
TOOL_ACTION
selectionTool
;
static
TOOL_ACTION
resetCoords
;
static
TOOL_ACTION
switchCursor
;
static
TOOL_ACTION
switchUnits
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment