Skip to content

Commit

Permalink
Fix #5939 by creating a mutable list in OpenDatabaseAction (#5940)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ka0o0 committed Feb 12, 2020
1 parent 567dc68 commit 3859620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- We fixed an issue where entries containing Unicode charaters were not parsed correctly [#5899](https://github.com/JabRef/jabref/issues/5899)
- We fixed an issue where an entry containing an external filename with curly braces could not be saved. Curly braces are now longer allowed in filenames. [#5899](https://github.com/JabRef/jabref/issues/5899)
- We fixed an issue where changing the type of an entry did not update the main table [#5906](https://github.com/JabRef/jabref/issues/5906)
- We fixed an issue where opening a library from the recent libraries menu was not possible [#5939](https://github.com/JabRef/jabref/issues/5939)


### Removed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private Path getInitialDirectory() {
* @param file the file, may be null or not existing
*/
public void openFile(Path file, boolean raisePanel) {
openFiles(Collections.singletonList(file), raisePanel);
openFiles(Arrays.asList(file), raisePanel);
}

/**
Expand Down

0 comments on commit 3859620

Please sign in to comment.