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
a7d7e8dc
Commit
a7d7e8dc
authored
Feb 15, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: fix Bug #932509
parent
2153f4d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
hotkeys_board_editor.cpp
pcbnew/hotkeys_board_editor.cpp
+2
-1
hotkeys_module_editor.cpp
pcbnew/hotkeys_module_editor.cpp
+3
-1
No files found.
pcbnew/hotkeys_board_editor.cpp
View file @
a7d7e8dc
...
...
@@ -415,7 +415,8 @@ void PCB_EDIT_FRAME::OnHotKey( wxDC* aDC, int aHotkeyCode, const wxPoint& aPosit
break
;
case
HK_SWITCH_UNITS
:
g_UserUnit
=
(
g_UserUnit
==
INCHES
)
?
MILLIMETRES
:
INCHES
;
evt_type
=
(
g_UserUnit
==
INCHES
)
?
ID_TB_OPTIONS_SELECT_UNIT_MM
:
ID_TB_OPTIONS_SELECT_UNIT_INCH
;
break
;
case
HK_SWITCH_TRACK_DISPLAY_MODE
:
...
...
pcbnew/hotkeys_module_editor.cpp
View file @
a7d7e8dc
...
...
@@ -60,7 +60,9 @@ void FOOTPRINT_EDIT_FRAME::OnHotKey( wxDC* aDC, int aHotKey, const wxPoint& aPos
break
;
case
HK_SWITCH_UNITS
:
g_UserUnit
=
(
g_UserUnit
==
INCHES
)
?
MILLIMETRES
:
INCHES
;
cmd
.
SetId
(
(
g_UserUnit
==
INCHES
)
?
ID_TB_OPTIONS_SELECT_UNIT_MM
:
ID_TB_OPTIONS_SELECT_UNIT_INCH
);
GetEventHandler
()
->
ProcessEvent
(
cmd
);
break
;
case
HK_ZOOM_IN
:
...
...
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