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
85562b45
Commit
85562b45
authored
Jan 30, 2013
by
Jacobo Aragunde Perez
Committed by
jean-pierre charras
Jan 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit patch to fix bug 1108838 (+ fix a very minor fix in eeschema, when loading a new component)
parent
eacc8b93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
edaappl.cpp
common/edaappl.cpp
+6
-1
getpart.cpp
eeschema/getpart.cpp
+1
-1
No files found.
common/edaappl.cpp
View file @
85562b45
...
...
@@ -1131,13 +1131,18 @@ void EDA_APP::InsertLibraryPath( const wxString& aPaths, size_t aIndex )
bool
EDA_APP
::
LockFile
(
const
wxString
&
fileName
)
{
// first make absolute and normalize, to avoid that different lock files
// for the same file can be created
wxFileName
fn
=
fileName
;
fn
.
MakeAbsolute
();
// semaphore to protect the edition of the file by more than one instance
if
(
m_oneInstancePerFileChecker
!=
NULL
)
{
// it means that we had an open file and we are opening a different one
delete
m_oneInstancePerFileChecker
;
}
wxString
lockFileName
=
f
ileName
+
wxT
(
".lock"
);
wxString
lockFileName
=
f
n
.
GetFullPath
()
+
wxT
(
".lock"
);
lockFileName
.
Replace
(
wxT
(
"/"
),
wxT
(
"_"
)
);
// We can have filenames coming from Windows, so also convert Windows separator
lockFileName
.
Replace
(
wxT
(
"
\\
"
),
wxT
(
"_"
)
);
...
...
eeschema/getpart.cpp
View file @
85562b45
...
...
@@ -263,7 +263,7 @@ SCH_COMPONENT* SCH_EDIT_FRAME::Load_Component( wxDC* aDC,
component
->
SetCurrentSheetPath
(
&
GetCurrentSheet
()
);
component
->
GetMsgPanelInfo
(
items
);
SetMsgPanel
(
items
);
component
->
Draw
(
m_canvas
,
aDC
,
wxPoint
(
0
,
0
),
g_XorMode
,
g_GhostColor
);
component
->
Draw
(
m_canvas
,
aDC
,
wxPoint
(
0
,
0
),
g_XorMode
);
component
->
SetFlags
(
IS_NEW
);
MoveItem
(
(
SCH_ITEM
*
)
component
,
aDC
);
...
...
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