mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Fix NPE
This commit is contained in:
parent
a09a3238cf
commit
d155dcdeb2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue