Fix issue with null value in inductor causing exceptions

This commit is contained in:
Bane Stojkovic
2023-03-28 16:12:19 +02:00
parent 24c8afd620
commit 3a5e6f553d
2 changed files with 2 additions and 2 deletions
@@ -76,7 +76,7 @@ public class RadialInductor extends AbstractRadialComponent<Inductance> {
@Override
public String getValueForDisplay() {
return getValue().toString();
return getValue() == null ? null : getValue().toString();
}
@Override