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
3be88ac2
Commit
3be88ac2
authored
Nov 01, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: fix minor issue created by recent menubar_pcbframe.cpp change.
parent
527de3e5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
142 deletions
+96
-142
hotkeys.cpp
pcbnew/hotkeys.cpp
+2
-2
menubar_pcbframe.cpp
pcbnew/menubar_pcbframe.cpp
+94
-140
No files found.
pcbnew/hotkeys.cpp
View file @
3be88ac2
...
...
@@ -449,13 +449,13 @@ void WinEDA_PcbFrame::OnHotKey( wxDC* aDC, int aHotkeyCode, EDA_BaseStruct* aIte
break
;
case
HK_ADD_VIA
:
// Switch to alternate layer and Place a via if a track is in progress
if
(
m_ID_current_state
!=
ID_TRACK_BUTT
)
return
;
if
(
!
itemCurrentlyEdited
)
// no track in progress: switch layer only
{
Other_Layer_Route
(
NULL
,
aDC
);
break
;
}
if
(
m_ID_current_state
!=
ID_TRACK_BUTT
)
return
;
if
(
GetCurItem
()
->
Type
()
!=
TYPE_TRACK
)
return
;
if
(
(
GetCurItem
()
->
m_Flags
&
IS_NEW
)
==
0
)
...
...
pcbnew/menubar_pcbframe.cpp
View file @
3be88ac2
This diff is collapsed.
Click to expand it.
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