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
093f810d
Commit
093f810d
authored
Jun 03, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wxFrame GetParent() strategy is obsolete, use Kiway().Player()
parent
3480c41c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dialog_edit_libentry_fields_in_lib.cpp
eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp
+3
-2
No files found.
eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp
View file @
093f810d
...
@@ -507,8 +507,9 @@ void DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::initBuffers()
...
@@ -507,8 +507,9 @@ void DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::initBuffers()
// Add template fieldnames:
// Add template fieldnames:
// Now copy in the template fields, in the order that they are present in the
// Now copy in the template fields, in the order that they are present in the
// template field editor UI.
// template field editor UI.
const
TEMPLATE_FIELDNAMES
&
tfnames
=
SCH_EDIT_FRAME
*
editor
=
(
SCH_EDIT_FRAME
*
)
Kiway
().
Player
(
FRAME_SCH
,
true
);
((
SCH_EDIT_FRAME
*
)
m_parent
->
GetParent
())
->
GetTemplateFieldNames
();
const
TEMPLATE_FIELDNAMES
&
tfnames
=
editor
->
GetTemplateFieldNames
();
for
(
TEMPLATE_FIELDNAMES
::
const_iterator
it
=
tfnames
.
begin
();
it
!=
tfnames
.
end
();
++
it
)
for
(
TEMPLATE_FIELDNAMES
::
const_iterator
it
=
tfnames
.
begin
();
it
!=
tfnames
.
end
();
++
it
)
{
{
...
...
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