diff --git a/view-simulation-results/src/main/java/org/vcell/N5/SimResultsLoader.java b/view-simulation-results/src/main/java/org/vcell/N5/SimResultsLoader.java index 96ef3e3..99fb5a2 100644 --- a/view-simulation-results/src/main/java/org/vcell/N5/SimResultsLoader.java +++ b/view-simulation-results/src/main/java/org/vcell/N5/SimResultsLoader.java @@ -223,7 +223,7 @@ public static void openLocalN5FS(ArrayList filesToOpen){ fileChooser.setAcceptAllFileFilterUsed(false); int result = fileChooser.showOpenDialog(null); if (result == JFileChooser.APPROVE_OPTION){ - File file = fileChooser.getCurrentDirectory(); + File file = fileChooser.getSelectedFile(); N5ExportTable.exportTableDialog.setCursor(new Cursor(Cursor.WAIT_CURSOR)); Thread openN5FileDataset = new Thread(() -> { try{