Skip to content

Commit

Permalink
Update src/main/java/org/jabref/gui/linkedfile/DeleteFileAction.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr authored Dec 23, 2024
1 parent 007929f commit f82c5ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void execute() {
LOGGER.warn("Could not find file {}", linkedFile.getLink());
dialogService.notify(Localization.lang("Error accessing file '%0'.", linkedFile.getLink()));

// We can trigger deletion of "all" files, because in this case, there is only one files
// We can trigger deletion of "all" files from the entry (no deletion on disk), because in this case, there is only one files
assert numberOfLinkedFiles == 1;
deleteFiles(false);

Expand Down

0 comments on commit f82c5ab

Please sign in to comment.