Don't change the board without user action
Grid and ratsnest visibility are stored in the board file and should not be changed without the user explicitly modifying them. In the future, we'll move these settings out of the board file but we shouldn't cause extra file-churn for flipped bits. Fixes: lp:1828285 * https://bugs.launchpad.net/kicad/+bug/1828285
This commit is contained in:
parent
4d8be7b2bb
commit
e7e20b85b5
|
@ -551,9 +551,6 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
||||||
bds.m_DiffPairDimensionsList = configBds.m_DiffPairDimensionsList;
|
bds.m_DiffPairDimensionsList = configBds.m_DiffPairDimensionsList;
|
||||||
bds.m_CopperEdgeClearance = configBds.m_CopperEdgeClearance;
|
bds.m_CopperEdgeClearance = configBds.m_CopperEdgeClearance;
|
||||||
|
|
||||||
bds.SetElementVisibility( LAYER_GRID, configBds.IsElementVisible( LAYER_GRID ) );
|
|
||||||
bds.SetElementVisibility( LAYER_RATSNEST, configBds.IsElementVisible( LAYER_RATSNEST ) );
|
|
||||||
|
|
||||||
SetBoard( loadedBoard );
|
SetBoard( loadedBoard );
|
||||||
|
|
||||||
// we should not ask PLUGINs to do these items:
|
// we should not ask PLUGINs to do these items:
|
||||||
|
|
Loading…
Reference in New Issue