Fixed bug when changing units when document is not open.
Fixed bug when changing units when document is not open.

OverheadTransmissionLineSoftware/SpanAnalyzer,OverheadTransmissionLineSoftware/SpanAnalyzer,OverheadTransmissionLineSoftware/SpanAnalyzer,OverheadTransmissionLineSoftware/SpanAnalyzer