mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-28 07:28:20 -04:00
added description to clock input
This commit is contained in:
parent
4c71e71092
commit
2716d093f6
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user