Skip to content

Commit

Permalink
Fix empty fields being added to the entry table preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
BeeJay28 committed May 17, 2023
1 parent f166455 commit 27e5659
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
- We fixed an issue where passing a URL containing a DOI led to a "No entry found" notification. [#9821](https://github.com/JabRef/jabref/issues/9821)
- We fixed some minor visual inconsistencies and issues in the preferences dialog. [#9866](https://github.com/JabRef/jabref/pull/9866)
- The order of save actions is now retained. [#9890](https://github.com/JabRef/jabref/pull/9890)
- We fixed custom columns being added to entry table prefs, while field text is empty [#9913](https://github.com/JabRef/jabref/issues/9913)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ private void removeExtraFileColumns() {
}

public void insertColumnInList() {
if (addColumnProperty.getValue() == null) {
if (addColumnProperty.getValue() == null ||
addColumnProperty.getValue().getQualifier().isEmpty()) {
return;
}

Expand Down

0 comments on commit 27e5659

Please sign in to comment.