mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-19 22:01:12 +00:00
Fix NPE
This commit is contained in:
parent
a09a3238cf
commit
d155dcdeb2
|
@ -52,7 +52,7 @@ public class ContextualFileReferenceChoiceComp extends Comp<CompStructure<HBox>>
|
||||||
this.fileSystem.setValue(val);
|
this.fileSystem.setValue(val);
|
||||||
});
|
});
|
||||||
this.fileSystem.addListener((observable, oldValue, newValue) -> {
|
this.fileSystem.addListener((observable, oldValue, newValue) -> {
|
||||||
fileSystem.setValue(newValue.get().ref());
|
fileSystem.setValue(newValue.get() != null ? newValue.get().ref() : null);
|
||||||
});
|
});
|
||||||
this.filePath = filePath;
|
this.filePath = filePath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue