Skip to content

Commit

Permalink
Choose Selected Directory Not Parent Directory
Browse files Browse the repository at this point in the history
  • Loading branch information
AvocadoMoon committed Sep 10, 2024
1 parent 41f9c95 commit 1e99807
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public static void openLocalN5FS(ArrayList<SimResultsLoader> 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{
Expand Down

0 comments on commit 1e99807

Please sign in to comment.