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
dd58ea1e
Commit
dd58ea1e
authored
Jun 15, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: bug soved (see changelog). Doc update
parent
405cb2ab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
change_log.txt
change_log.txt
+8
-2
class_drawsheet.cpp
eeschema/class_drawsheet.cpp
+7
-4
No files found.
change_log.txt
View file @
dd58ea1e
...
...
@@ -5,6 +5,12 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2008-June-15 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+eeschema:
Bug solved: Eeschema crashed when creating a new subsheet with the same
filename as an existing filename, if loading this existing file.
2008-June-11 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
...
...
eeschema/class_drawsheet.cpp
View file @
dd58ea1e
...
...
@@ -574,12 +574,15 @@ bool DrawSheetStruct::ChangeFileName( WinEDA_SchematicFrame* aFrame, const wxStr
if
(
IsOK
(
NULL
,
msg
)
)
{
LoadFromFile
=
true
;
if
(
m_AssociatedScreen
)
// Can be NULL if loading a file when creating a new sheet
{
m_AssociatedScreen
->
m_RefCount
--
;
//be careful with these
if
(
m_AssociatedScreen
->
m_RefCount
==
0
)
SAFE_DELETE
(
m_AssociatedScreen
);
m_AssociatedScreen
=
NULL
;
//will be created later
}
}
}
// if an associated screen exists, shared between this sheet and others sheets, what we do ?
if
(
m_AssociatedScreen
&&
(
m_AssociatedScreen
->
m_RefCount
>
1
)
)
...
...
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