Default grid: set PCB to 0.5mm, Page Layout editor to 100 mil
This commit is contained in:
parent
01544cb010
commit
407bb10197
|
@ -332,15 +332,18 @@ void APP_SETTINGS_BASE::addParamsForWindow( WINDOW_SETTINGS* aWindow, const std:
|
||||||
|
|
||||||
int defaultGridIdx;
|
int defaultGridIdx;
|
||||||
|
|
||||||
if( m_filename == wxS( "pl_editor" )
|
if( ( m_filename == wxS( "eeschema" ) || m_filename == wxS( "symbol_editor" ) ) )
|
||||||
|| ( m_filename == wxS( "eeschema" ) || m_filename == wxS( "symbol_editor" ) ) )
|
|
||||||
{
|
{
|
||||||
defaultGridIdx = 1;
|
defaultGridIdx = 1;
|
||||||
}
|
}
|
||||||
else
|
else if( m_filename == wxS( "pl_editor" ) )
|
||||||
{
|
{
|
||||||
defaultGridIdx = 4;
|
defaultGridIdx = 4;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
defaultGridIdx = 15;
|
||||||
|
}
|
||||||
|
|
||||||
m_params.emplace_back( new PARAM_LIST<GRID>( aJsonPath + ".grid.sizes", &aWindow->grid.grids,
|
m_params.emplace_back( new PARAM_LIST<GRID>( aJsonPath + ".grid.sizes", &aWindow->grid.grids,
|
||||||
DefaultGridSizeList() ) );
|
DefaultGridSizeList() ) );
|
||||||
|
|
Loading…
Reference in New Issue