mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-17 08:55:05 -04:00
fixes #299
This commit is contained in:
parent
ad694c2898
commit
350916d1db
@ -340,6 +340,9 @@ public class DataEditor extends JDialog {
|
||||
|
||||
@Override
|
||||
protected void setValue(Object value) {
|
||||
if (value == null)
|
||||
super.setValue(value);
|
||||
|
||||
String str = Long.toHexString(((MyLong) value).getValue()).toUpperCase();
|
||||
while (str.length() < chars) str = "0" + str;
|
||||
super.setValue(str);
|
||||
|
Loading…
x
Reference in New Issue
Block a user