Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[master]
- Fixed bug 960 "FileNotFoundException in Journal abbreviations window" (by edukempf)
- Change default behaviour to be more non-invasive: timestamps and owners are NOT set by default per entry.
- "Open Folder" works again
- newline separator can now be configured globally
Expand Down
15 changes: 14 additions & 1 deletion src/main/java/net/sf/jabref/journals/ManageJournalsPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -345,13 +345,26 @@ public void storeSettings() {
if (newFile.isSelected()) {
if (newNameTf.getText().length() > 0) {
f = new File(newNameTf.getText());
if(!f.exists())
if(new File(f.getPath().substring(0, f.getPath().lastIndexOf("/"))).exists()
|| new File(f.getPath().substring(0, f.getPath().lastIndexOf("\\"))).exists()){
try {
f.createNewFile();
} catch (IOException e) {
JOptionPane.showMessageDialog(this, "Could not create the file in the path specified");
e.printStackTrace();
}
}else{
JOptionPane.showMessageDialog(this, "Informed folder does not exist");
}

}// else {
// return; // Nothing to do.
//}
} else
f = new File(personalFile.getText());

if (f != null) {
if (f.exists()) {
FileWriter fw = null;
try {
fw = new FileWriter(f, false);
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/help/About.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ <h2>Contributions from:</h2>
David Weitzman,
Seb Wills,
John Zedlewski,
Waluyo Adi Siswanto</p>
Waluyo Adi Siswanto,
Eduardo Kempf</p>

<h2>Thanks to:</h2>

Expand Down