Skip to content

Commit

Permalink
Fix file adding
Browse files Browse the repository at this point in the history
Fixes #12236

Follow up to #12219
  • Loading branch information
Siedlerchr committed Nov 25, 2024
1 parent 62749e9 commit 540c465
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ void checkForBadFileNameAndAdd(Path fileToAdd) {
dialogService.showErrorDialogAndWait(ex);
}
}
} else {
link.set(relativize(fileToAdd));
filePreferences.setWorkingDirectory(fileToAdd);
setExternalFileTypeByExtension(link.getValueSafe());
}
}

Expand Down

0 comments on commit 540c465

Please sign in to comment.