Skip to content

Commit

Permalink
Fixed one more NPE which should have been fixed in #1631 (#1649)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus authored and lenhard committed Aug 1, 2016
1 parent 644b2d7 commit 0644d46
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 0644d46

Please sign in to comment.