Skip to content

Commit

Permalink
Fixed one more NPE which should have been fixed in JabRef#1631
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus committed Jul 30, 2016
1 parent 644b2d7 commit 26ada26
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,8 @@ public void actionPerformed(ActionEvent e) {
}
File toFile;
try {
String toName = FileDialogs.getNewFile(frame, new File(System.getProperty("user.home")), null,
String toName = FileDialogs.getNewFile(frame, new File(System.getProperty("user.home")),
Collections.emptyList(),
JFileChooser.SAVE_DIALOG, false);
if (toName == null) {
return;
Expand Down

0 comments on commit 26ada26

Please sign in to comment.