General cleanup.
This commit is contained in:
parent
0aaccfbb28
commit
7bb280ea39
|
@ -1199,7 +1199,6 @@ void SCH_EDIT_FRAME::FocusOnItem( SCH_ITEM* aItem )
|
|||
RefreshItem( aItem );
|
||||
lastBrightenedItemID = aItem->m_Uuid;
|
||||
|
||||
// JEY TODO: test this with pins and fields (and with rotated symbols) ....
|
||||
FocusOnLocation( aItem->GetFocusPosition() );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -247,7 +247,6 @@ DIALOG_PAD_PRIMITIVE_POLY_PROPS::DIALOG_PAD_PRIMITIVE_POLY_PROPS( wxWindow* aPar
|
|||
m_sdbSizerOK->SetDefault();
|
||||
GetSizer()->SetSizeHints( this );
|
||||
|
||||
// TODO: move wxEVT_GRID_CELL_CHANGING in wxFormbuilder, when it support it
|
||||
m_gridCornersList->Connect( wxEVT_GRID_CELL_CHANGING, wxGridEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS::onCellChanging ), NULL, this );
|
||||
|
||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||
|
|
|
@ -146,7 +146,7 @@ static void netclassToGridRow( EDA_UNITS aUnits, wxGrid* aGrid, int aRow, const
|
|||
SET_MILS_CELL( GRID_uVIADRILL, nc->GetuViaDrill() );
|
||||
SET_MILS_CELL( GRID_DIFF_PAIR_WIDTH, nc->GetDiffPairWidth() );
|
||||
SET_MILS_CELL( GRID_DIFF_PAIR_GAP, nc->GetDiffPairGap() );
|
||||
// 6.0 TODO: SET_MILS_CELL( GRID_DIFF_PAIR_VIA_GAP, nc->GetDiffPairViaGap() );
|
||||
SET_MILS_CELL( GRID_DIFF_PAIR_VIA_GAP, nc->GetDiffPairViaGap() );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1735,8 +1735,6 @@ void LEGACY_PLUGIN::loadMODULE_EDGE( MODULE* aModule )
|
|||
// Check for a reasonable layer:
|
||||
// m_Layer must be >= FIRST_NON_COPPER_LAYER, but because microwave footprints
|
||||
// can use the copper layers m_Layer < FIRST_NON_COPPER_LAYER is allowed.
|
||||
// @todo: changes use of EDGE_MODULE these footprints and allows only
|
||||
// m_Layer >= FIRST_NON_COPPER_LAYER
|
||||
if( layer < FIRST_LAYER || layer > LAST_NON_COPPER_LAYER )
|
||||
layer = SILKSCREEN_N_FRONT;
|
||||
|
||||
|
|
Loading…
Reference in New Issue