added description to clock input

This commit is contained in:
hneemann 2016-12-23 21:59:15 +01:00
parent 4c71e71092
commit 2716d093f6

View File

@ -525,7 +525,11 @@ public class Circuit {
if (name == null || name.length() == 0)
throw new PinException(Lang.get("err_pinWithoutName"));
String descr = ve.getElementAttributes().get(Keys.DESCRIPTION);
String descr;
if (ve.equalsDescription(Clock.DESCRIPTION))
descr = Lang.get("elem_Clock");
else
descr = ve.getElementAttributes().get(Keys.DESCRIPTION);
pinList.add(input(name, descr));
}
}