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
f69b3844
Commit
f69b3844
authored
Dec 20, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call showPresets() from OnCopperLayersChoice()
parent
00935021
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
dialog_layers_setup.cpp
pcbnew/dialog_layers_setup.cpp
+4
-5
No files found.
pcbnew/dialog_layers_setup.cpp
View file @
f69b3844
...
...
@@ -24,8 +24,6 @@
*/
/* functions relatives to the design rules editor
*/
#include "fctsys.h"
#include "common.h"
#include "class_drawpanel.h"
...
...
@@ -425,7 +423,7 @@ void DIALOG_LAYERS_SETUP::OnCheckBox( wxCommandEvent& event )
void
DIALOG_LAYERS_SETUP
::
DenyChangeCheckBox
(
wxCommandEvent
&
event
)
{
// user may not change copper layer checkboxes from anything other than
//
the one place, the drop down m_CopperLayersChoice control
.
//
either presets choice or the copper layer choice controls
.
// I tried to simply diable the copper CheckBoxes but they look like crap,
// so leave them enabled and reverse the user's attempt to toggle them.
...
...
@@ -470,9 +468,10 @@ void DIALOG_LAYERS_SETUP::OnCopperLayersChoice( wxCommandEvent& event )
setCopperLayerCheckBoxes
(
m_CopperLayerCount
);
// event.Skip();
}
m_EnabledLayers
=
getUILayerMask
();
showPresets
(
m_EnabledLayers
);
}
/*****************************************************************/
...
...
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