From fcfcab4913cd1cb3682399d68d854b11ee4a81e3 Mon Sep 17 00:00:00 2001 From: optyfr <17027109+optyfr@users.noreply.github.com> Date: Thu, 28 Dec 2023 17:21:28 +0100 Subject: [PATCH] fix #248 --- CHANGELOG.md | 3 +++ changelogs/3.0.0-beta.14.md | 1 + jrmfx/src/main/java/jrm/fx/ui/ScannerPanelController.java | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelogs/3.0.0-beta.14.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 15a6de31..9a128caf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## Release v3.0.0 beta 14 +- Fixes + ## Release v3.0.0 beta 13 - Jetty 12 - Fixes diff --git a/changelogs/3.0.0-beta.14.md b/changelogs/3.0.0-beta.14.md new file mode 100644 index 00000000..89808540 --- /dev/null +++ b/changelogs/3.0.0-beta.14.md @@ -0,0 +1 @@ +- Fixes diff --git a/jrmfx/src/main/java/jrm/fx/ui/ScannerPanelController.java b/jrmfx/src/main/java/jrm/fx/ui/ScannerPanelController.java index 6b6f227c..88520186 100644 --- a/jrmfx/src/main/java/jrm/fx/ui/ScannerPanelController.java +++ b/jrmfx/src/main/java/jrm/fx/ui/ScannerPanelController.java @@ -693,7 +693,7 @@ private void initProfileSettings(Session session) samplesDest.setText(session.getCurrProfile().getProperty(ProfileSettingsEnum.samples_dest_dir)); //$NON-NLS-1$ //$NON-NLS-2$ backupDestCB.setSelected(session.getCurrProfile().getProperty(ProfileSettingsEnum.backup_dest_dir_enabled, Boolean.class)); //$NON-NLS-1$ backupDest.setText(session.getCurrProfile().getProperty(ProfileSettingsEnum.backup_dest_dir)); //$NON-NLS-1$ //$NON-NLS-2$ - srcList.setItems(FXCollections.observableList(Stream.of(StringUtils.split(session.getCurrProfile().getProperty(ProfileSettingsEnum.src_dir),'|')).filter(s->!s.isEmpty()).map(File::new).toList())); + srcList.setItems(FXCollections.observableList(Stream.of(StringUtils.split(session.getCurrProfile().getProperty(ProfileSettingsEnum.src_dir),'|')).filter(s->!s.isEmpty()).map(File::new).collect(Collectors.toList()))); scannerPanelSettingsController.initProfileSettings(session.getCurrProfile().getSettings());