This commit is contained in:
gac-ISS
2023-01-17 17:18:18 +01:00
parent fe3cb1115a
commit 9eecf8740a
9 changed files with 308 additions and 175 deletions

View File

@@ -133,7 +133,7 @@ public class EnergyScan extends ScriptProcessor {
ArrayList data = new ArrayList();
data.add(new Object[][]{new Object[]{textName.getText()}});
data.add(model.getDataVector());
data.add(spinnerPasses.getValue());
data.add(new Object[][]{new Object[]{spinnerPasses.getValue()}});
String json = EncoderJson.encode(data, true);
Files.write(currentFile.toPath(), json.getBytes());
updateButtons();