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
d7f96d37
Commit
d7f96d37
authored
Feb 12, 2015
by
John Beard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Fit() call to move exact and create array dialogs
parent
8c6313ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
dialog_create_array.cpp
pcbnew/dialogs/dialog_create_array.cpp
+2
-0
dialog_move_exact.cpp
pcbnew/dialogs/dialog_move_exact.cpp
+2
-0
No files found.
pcbnew/dialogs/dialog_create_array.cpp
View file @
d7f96d37
...
@@ -110,6 +110,8 @@ DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY( PCB_BASE_FRAME* aParent, wxPoint aOrig
...
@@ -110,6 +110,8 @@ DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY( PCB_BASE_FRAME* aParent, wxPoint aOrig
// Run the callbacks once to process the dialog contents
// Run the callbacks once to process the dialog contents
setControlEnablement
();
setControlEnablement
();
calculateCircularArrayProperties
();
calculateCircularArrayProperties
();
Fit
();
}
}
...
...
pcbnew/dialogs/dialog_move_exact.cpp
View file @
d7f96d37
...
@@ -54,6 +54,8 @@ DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT( PCB_BASE_FRAME* aParent,
...
@@ -54,6 +54,8 @@ DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT( PCB_BASE_FRAME* aParent,
m_xEntry
->
SetValue
(
wxString
::
FromDouble
(
m_options
.
entry1
)
);
m_xEntry
->
SetValue
(
wxString
::
FromDouble
(
m_options
.
entry1
)
);
m_yEntry
->
SetValue
(
wxString
::
FromDouble
(
m_options
.
entry2
)
);
m_yEntry
->
SetValue
(
wxString
::
FromDouble
(
m_options
.
entry2
)
);
m_rotEntry
->
SetValue
(
wxString
::
FromDouble
(
m_options
.
entryRotation
)
);
m_rotEntry
->
SetValue
(
wxString
::
FromDouble
(
m_options
.
entryRotation
)
);
Fit
();
}
}
...
...
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