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
fd0e99bb
Commit
fd0e99bb
authored
May 31, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcbnew: minor bug fixed: left toolbar: show pads filled/sketch tool option did not work
parent
23dace1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
dialog_general_options.cpp
pcbnew/dialog_general_options.cpp
+4
-2
No files found.
pcbnew/dialog_general_options.cpp
View file @
fd0e99bb
...
...
@@ -154,6 +154,8 @@ void Dialog_Display_Options::init()
if
(
DisplayOpt
.
DisplayPadFill
)
m_OptDisplayPads
->
SetSelection
(
1
);
else
m_OptDisplayPads
->
SetSelection
(
0
);
m_Show_Page_Limits
->
SetSelection
(
g_ShowPageLimits
?
0
:
1
);
...
...
@@ -379,11 +381,11 @@ void WinEDA_PcbFrame::OnSelectOptionToolbar( wxCommandEvent& event )
case
ID_TB_OPTIONS_SHOW_PADS_SKETCH
:
if
(
m_OptionsToolBar
->
GetToolState
(
id
)
)
{
m_DisplayPadFill
=
DisplayOpt
.
DisplayPadFill
=
tru
e
;
m_DisplayPadFill
=
DisplayOpt
.
DisplayPadFill
=
fals
e
;
}
else
{
m_DisplayPadFill
=
DisplayOpt
.
DisplayPadFill
=
fals
e
;
m_DisplayPadFill
=
DisplayOpt
.
DisplayPadFill
=
tru
e
;
}
DrawPanel
->
Refresh
(
);
break
;
...
...
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