We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38e93b9 + 2041d53 commit 250e0deCopy full SHA for 250e0de
src/org/openlcb/cdi/swing/CdiPanel.java
@@ -2406,8 +2406,12 @@ protected void writeDisplayTextToNode() {
2406
protected void updateDisplayText(@NonNull String value) {
2407
String retval = "";
2408
if (!value.isEmpty()) {
2409
- EventID eid = rep.eventNameStore.getEventID(value);
2410
- retval = rep.eventNameStore.getEventName(eid);
+ if (rep.eventNameStore != null ) {
+ EventID eid = rep.eventNameStore.getEventID(value);
2411
+ retval = rep.eventNameStore.getEventName(eid);
2412
+ } else {
2413
+ retval = value;
2414
+ }
2415
}
2416
textField.setText(retval);
2417
0 commit comments