kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00073
Patch: Inherit page size on sheet creation
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"wmb314" <wmb@...>
-
Date:
Fri, 31 Mar 2006 08:40:46 -0000
-
Comment:
DomainKeys? See http://antispam.yahoo.com/domainkeys
-
User-agent:
eGroups-EW/0.82
The following patch to kicad-2006-03-28 causes newly-created
hierarchical sheets to have the same page size as their parent.
diff -c -r kicad-dev-2006-03-28/eeschema/divers.cpp
kicad-dev/eeschema/divers.cpp
*** kicad-dev-2006-03-28/eeschema/divers.cpp Mon Jan 24 10:54:10 2005
--- kicad-dev/eeschema/divers.cpp Thu Mar 30 22:28:57 2006
***************
*** 28,34 ****
NewScreen = new SCH_SCREEN(NULL, frame_source, SCHEMATIC_FRAME);
NewScreen->SetRefreshReq();
! if(OldScreen) NewScreen->m_Company = OldScreen->m_Company;
NewScreen->m_TimeStamp = TimeStamp;
NewScreen->Pback = OldScreen;
--- 28,38 ----
NewScreen = new SCH_SCREEN(NULL, frame_source, SCHEMATIC_FRAME);
NewScreen->SetRefreshReq();
! if(OldScreen)
! {
! NewScreen->m_Company = OldScreen->m_Company;
! NewScreen->m_CurrentSheet = OldScreen->m_CurrentSheet;
! }
NewScreen->m_TimeStamp = TimeStamp;
NewScreen->Pback = OldScreen;