Skip to content

Commit

Permalink
Fixes koppor#566
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Biju committed Oct 23, 2022
1 parent 76bd95b commit 2b1ae49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
- We fixed an issue where hitting enter on the search field within the preferences dialog closed the dialog. [koppor#630](https://github.com/koppor/jabref/issues/630)
- We fixed a typo within a connection error message. [koppor#625](https://github.com/koppor/jabref/issues/625)
- We fixed an issue where the 'close dialog' key binding was not closing the Preferences dialog. [#8888](https://github.com/jabref/jabref/issues/8888)
- We fixed an issue where the dialogue window for sending to Grobid would not appear after importing a pdf the first time. [koppor#566](https://github.com/koppor/jabref/issues/566)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public class GrobidOptInDialogHelper {
* @return if the user enabled Grobid, either in the past or after being asked by the dialog.
*/
public static boolean showAndWaitIfUserIsUndecided(DialogService dialogService, GrobidPreferences preferences) {
if (preferences.isGrobidEnabled()) {
return true;
if (!preferences.isGrobidEnabled()) {
return false;
}
if (preferences.isGrobidOptOut()) {
return false;
Expand Down

0 comments on commit 2b1ae49

Please sign in to comment.