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
a6a75605
Commit
a6a75605
authored
Oct 30, 2010
by
Vovanium
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Draft version for per user search paths config (LibraryPath1, 2... in .kicad_common)
parent
2c69cd31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
edaappl.cpp
common/edaappl.cpp
+12
-0
No files found.
common/edaappl.cpp
View file @
a6a75605
...
@@ -626,6 +626,18 @@ void WinEDA_App::GetSettings(bool aReopenLastUsedDirectory)
...
@@ -626,6 +626,18 @@ void WinEDA_App::GetSettings(bool aReopenLastUsedDirectory)
}
}
m_EDA_Config
->
Read
(
wxT
(
"BgColor"
),
&
g_DrawBgColor
);
m_EDA_Config
->
Read
(
wxT
(
"BgColor"
),
&
g_DrawBgColor
);
/* Load per-user search paths from settings file */
wxString
upath
;
int
i
=
1
;
while
(
1
)
{
upath
=
m_EDA_CommonConfig
->
Read
(
wxString
::
Format
(
wxT
(
"LibraryPath%d"
),
i
),
wxT
(
""
)
);
if
(
upath
.
IsSameAs
(
wxT
(
""
)
)
)
break
;
m_libSearchPaths
.
Add
(
upath
);
i
++
;
}
}
}
...
...
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