mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-11-03 04:26:24 +00:00
Fixes for sh connections [release]
This commit is contained in:
1 parent
a752b0c79a
commit
eecafd3cf9
4 files changed
+13
-5
No files matched your search
@@ -35,10 +35,10 @@ public class FileStoreChoiceComp extends SimpleComp {
|
||||
var fileProperty = new SimpleStringProperty(
|
||||
selected.getValue() != null ? selected.getValue().getPath() : null);
|
||||
fileProperty.addListener((observable, oldValue, newValue) -> {
|
||||
setSelected(selected.getValue().getFileSystem(), newValue);
|
||||
setSelected(selected.getValue() != null ? selected.getValue().getFileSystem() : null, newValue);
|
||||
});
|
||||
selected.addListener((observable, oldValue, newValue) -> {
|
||||
fileProperty.setValue(newValue.getPath());
|
||||
fileProperty.setValue(newValue != null ? newValue.getPath() : null);
|
||||
});
|
||||
|
||||
var fileSystemChoiceComp = new FileSystemStoreChoiceComp(selected).grow(false, true).styleClass(Styles.LEFT_PILL);
|
||||
|
||||
Reference in new issue
Block a user