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
8e6713ca
Commit
8e6713ca
authored
Apr 15, 2014
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't know how it ever worked before, supporting project template kicad.pro
parent
4a7ba869
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
project.cpp
common/project.cpp
+2
-2
No files found.
common/project.cpp
View file @
8e6713ca
...
@@ -261,7 +261,7 @@ wxConfigBase* PROJECT::configCreate( const SEARCH_STACK& aSList, const wxString&
...
@@ -261,7 +261,7 @@ wxConfigBase* PROJECT::configCreate( const SEARCH_STACK& aSList, const wxString&
}
}
else
// Version incorrect
else
// Version incorrect
{
{
wxLogDebug
(
wxT
(
"Project file version is zero, not using this old project file, going with template.
\n
"
)
);
wxLogDebug
(
wxT
(
"Project file version is zero, not using this old project file, going with template.
"
)
);
delete
cfg
;
delete
cfg
;
cfg
=
0
;
cfg
=
0
;
}
}
...
@@ -293,7 +293,7 @@ wxConfigBase* PROJECT::configCreate( const SEARCH_STACK& aSList, const wxString&
...
@@ -293,7 +293,7 @@ wxConfigBase* PROJECT::configCreate( const SEARCH_STACK& aSList, const wxString&
// copy the template to cur_pro_fn, and open it at that destination.
// copy the template to cur_pro_fn, and open it at that destination.
wxCopyFile
(
kicad_pro_template
,
cur_pro_fn
);
wxCopyFile
(
kicad_pro_template
,
cur_pro_fn
);
cfg
=
new
wxFileConfig
(
wxEmptyString
,
wxEmptyString
,
wxEmptyString
,
cur_pro_fn
);
cfg
=
new
wxFileConfig
(
wxEmptyString
,
wxEmptyString
,
cur_pro_fn
,
wxEmptyString
);
cfg
->
DontCreateOnDemand
();
cfg
->
DontCreateOnDemand
();
...
...
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