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
f03bee4b
Commit
f03bee4b
authored
Feb 07, 2010
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew minor fix (regression fix)
parent
113f83b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
onrightclick.cpp
pcbnew/onrightclick.cpp
+9
-1
No files found.
pcbnew/onrightclick.cpp
View file @
f03bee4b
...
@@ -459,7 +459,7 @@ void WinEDA_PcbFrame::createPopupMenuForTracks( TRACK* Track, wxMenu* PopMenu )
...
@@ -459,7 +459,7 @@ void WinEDA_PcbFrame::createPopupMenuForTracks( TRACK* Track, wxMenu* PopMenu )
}
}
// track Width control :
// track Width control :
if
(
!
flags
)
// track Width control :
if
(
!
flags
)
{
{
if
(
Track
->
Type
()
==
TYPE_VIA
)
if
(
Track
->
Type
()
==
TYPE_VIA
)
{
{
...
@@ -482,6 +482,14 @@ void WinEDA_PcbFrame::createPopupMenuForTracks( TRACK* Track, wxMenu* PopMenu )
...
@@ -482,6 +482,14 @@ void WinEDA_PcbFrame::createPopupMenuForTracks( TRACK* Track, wxMenu* PopMenu )
PopMenu
->
AppendSeparator
();
PopMenu
->
AppendSeparator
();
}
}
else
// Allows switching to an other track/via size when routing
{
ADD_MENUITEM_WITH_SUBMENU
(
PopMenu
,
Append_Track_Width_List
(
GetBoard
()
),
ID_POPUP_PCB_SELECT_WIDTH
,
_
(
"Select Track Width"
),
width_track_xpm
);
PopMenu
->
AppendSeparator
();
}
// Delete control:
// Delete control:
wxMenu
*
track_mnu
=
new
wxMenu
;
wxMenu
*
track_mnu
=
new
wxMenu
;
ADD_MENUITEM_WITH_SUBMENU
(
PopMenu
,
track_mnu
,
ADD_MENUITEM_WITH_SUBMENU
(
PopMenu
,
track_mnu
,
...
...
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