pcbnew: Adjust dimension display after updating units

Fixes: lp:1854167
* https://bugs.launchpad.net/kicad/+bug/1854167
This commit is contained in:
Ian McInerney 2019-11-27 16:38:40 +00:00
parent e517069a51
commit 9f9b48739c
1 changed files with 2 additions and 0 deletions

View File

@ -419,6 +419,8 @@ bool DIALOG_TEXT_PROPERTIES::TransferDataFromWindow()
}
dimension->SetWidth( m_linesThickness.GetValue() );
dimension->AdjustDimensionDetails(
m_Parent->GetBoard()->GetDesignSettings().m_DimensionPrecision );
}
m_item->SetLayer( ToLAYER_ID( m_LayerSelectionCtrl->GetLayerSelection() ) );