Fix fuse symbol

This commit is contained in:
Bane Stojkovic
2023-03-29 09:38:27 +02:00
parent 57a7932675
commit 48fe5f496b
2 changed files with 6 additions and 2 deletions
@@ -60,7 +60,7 @@ public class FuseSymbol extends AbstractSchematicLeadedSymbol<Current> {
@Override
public String getValueForDisplay() {
return getValue().toString();// + (getPowerNew() == null ? "" : " " + getPowerNew().toString());
return getValue() == null ? null : getValue().toString();// + (getPowerNew() == null ? "" : " " + getPowerNew().toString());
}
public void drawIcon(Graphics2D g2d, int width, int height) {