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
9e9450e2
Commit
9e9450e2
authored
Oct 18, 2013
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug due to change in the default global footprint library table file name.
parent
612ba67c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fp_lib_table.cpp
common/fp_lib_table.cpp
+1
-2
No files found.
common/fp_lib_table.cpp
View file @
9e9450e2
...
...
@@ -780,8 +780,7 @@ bool FP_LIB_TABLE::LoadGlobalTable( FP_LIB_TABLE& aTable ) throw (IO_ERROR, PARS
// Attempt to copy the default global file table from the KiCad template folder to
// the users home configuration path.
wxString
fileName
(
wxT
(
"fp_global_table"
)
);
fileName
=
wxGetApp
().
FindLibraryPath
(
fileName
);
wxString
fileName
=
wxGetApp
().
FindLibraryPath
(
defaultFileName
);
// The fallback is to create an empty global footprint table for the user to populate.
if
(
fileName
.
IsEmpty
()
||
!::
wxCopyFile
(
fileName
,
fn
.
GetFullPath
(),
false
)
)
...
...
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