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
c303d3f8
Commit
c303d3f8
authored
Feb 24, 2011
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 723793
parent
36773d66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib_field.cpp
eeschema/lib_field.cpp
+3
-1
No files found.
eeschema/lib_field.cpp
View file @
c303d3f8
...
@@ -622,7 +622,9 @@ wxString LIB_FIELD::GetName(bool aTranslate) const
...
@@ -622,7 +622,9 @@ wxString LIB_FIELD::GetName(bool aTranslate) const
void
LIB_FIELD
::
SetName
(
const
wxString
&
aName
)
void
LIB_FIELD
::
SetName
(
const
wxString
&
aName
)
{
{
// Mandatory field names are fixed.
// Mandatory field names are fixed.
if
(
m_id
>
MANDATORY_FIELDS
)
// So what? Why should the low level code be in charge of such a policy issue?
if
(
m_id
<
MANDATORY_FIELDS
)
return
;
return
;
if
(
m_name
!=
aName
)
if
(
m_name
!=
aName
)
...
...
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