Skip to content

Commit

Permalink
Just Delete link from entry if the file is no longer accesible on disk
Browse files Browse the repository at this point in the history
Fixes #9731
  • Loading branch information
Siedlerchr committed Dec 22, 2024
1 parent c633366 commit 877261f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We fixed an issue when click on entry at "Check Integrity" wasn't properly focusing the entry and field. [#11997](https://github.com/JabRef/jabref/issues/11997)
- We fixed an issue with the ui not scaling when changing the font size [#11219](https://github.com/JabRef/jabref/issues/11219)
- We fixed an issue where a custom application for external file types would not be saved [#112311](https://github.com/JabRef/jabref/issues/12311)
- We fixed an issue where a no longer existing file cannot be deleted from an entry using keyboard shortcut [#9731](https://github.com/JabRef/jabref/issues/9731)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public void execute() {
dialogTitle = Localization.lang("Delete '%0'", path.getFileName().toString());
} else {
dialogService.notify(Localization.lang("Error accessing file '%0'.", linkedFile.getLink()));
deleteFiles(false);
// Deleting a non-existing file is a success
success = true;
return;
Expand Down

0 comments on commit 877261f

Please sign in to comment.