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
e69091af
Commit
e69091af
authored
Feb 12, 2010
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: pcbnew: new user grid value not immediately active.
parent
4e48640f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
set_grid.cpp
pcbnew/set_grid.cpp
+5
-0
No files found.
pcbnew/set_grid.cpp
View file @
e69091af
...
@@ -30,6 +30,11 @@ void WinEDA_BasePcbFrame::InstallGridFrame( const wxPoint& pos )
...
@@ -30,6 +30,11 @@ void WinEDA_BasePcbFrame::InstallGridFrame( const wxPoint& pos )
m_UserGridUnits
=
dlg
.
GetGridUnits
();
m_UserGridUnits
=
dlg
.
GetGridUnits
();
GetScreen
()
->
AddGrid
(
m_UserGridSize
,
m_UserGridUnits
,
ID_POPUP_GRID_USER
);
GetScreen
()
->
AddGrid
(
m_UserGridSize
,
m_UserGridUnits
,
ID_POPUP_GRID_USER
);
// If the user grid is the current option, recall SetGrid()
// to force new values put in list as current grid value
if
(
GetScreen
()
->
GetGridId
()
==
ID_POPUP_GRID_USER
)
GetScreen
()
->
SetGrid
(
ID_POPUP_GRID_USER
);
DrawPanel
->
Refresh
();
DrawPanel
->
Refresh
();
}
}
...
...
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