mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-30 00:21:01 +00:00
Fix NPE
This commit is contained in:
@@ -52,7 +52,7 @@ public class ContextualFileReferenceChoiceComp extends Comp<CompStructure<HBox>>
|
||||
this.fileSystem.setValue(val);
|
||||
});
|
||||
this.fileSystem.addListener((observable, oldValue, newValue) -> {
|
||||
fileSystem.setValue(newValue.get().ref());
|
||||
fileSystem.setValue(newValue.get() != null ? newValue.get().ref() : null);
|
||||
});
|
||||
this.filePath = filePath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user