Skip to content

Commit

Permalink
fix issue with trying to open the . folder as a file
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmurraydavid committed Feb 12, 2024
1 parent 3e0ccf9 commit c19521a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private void openFileFromFileNode(TreePath path) {
setDirectory(parentFile);
} else if (fileNode.getFile().isDirectory()) {
setDirectory(fileNode.getFile());
} else {
} else if (!fileNode.displayName.startsWith(".")) {
File gcodeFile = fileNode.getFile();
new OpenFileAction(gcodeFile).actionPerformed(null);
}
Expand Down

0 comments on commit c19521a

Please sign in to comment.