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
c4bff796
Commit
c4bff796
authored
Jan 26, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eeschema: fix a minor issue when creating a new hierarchical sheet (bad final size)
parent
c63908b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sch_sheet.cpp
eeschema/sch_sheet.cpp
+4
-2
No files found.
eeschema/sch_sheet.cpp
View file @
c4bff796
...
...
@@ -416,11 +416,13 @@ void SCH_SHEET::Place( SCH_EDIT_FRAME* frame, wxDC* DC )
/* Place list structures for new sheet. */
if
(
IsNew
()
)
{
// fix size and position of the new sheet
// using the last values set by the ManageCurseur function
frame
->
DrawPanel
->
ManageCurseur
=
NULL
;
frame
->
DrawPanel
->
ForceCloseManageCurseur
=
NULL
;
if
(
!
frame
->
EditSheet
(
this
,
DC
)
)
{
frame
->
GetScreen
()
->
SetCurItem
(
NULL
);
frame
->
DrawPanel
->
ManageCurseur
=
NULL
;
frame
->
DrawPanel
->
ForceCloseManageCurseur
=
NULL
;
Draw
(
frame
->
DrawPanel
,
DC
,
wxPoint
(
0
,
0
),
g_XorMode
);
delete
this
;
return
;
...
...
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