From a5223c79e859bb5d6d9a12d52c80f469cd1fc297 Mon Sep 17 00:00:00 2001 From: grimes2 Date: Tue, 4 Oct 2016 09:25:53 +0200 Subject: [PATCH] Ctrl-s parsing error message --- CHANGELOG.md | 1 + src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bb7f315d4e..7687ecddd8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -91,6 +91,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `# - Fixed [#2090](https://github.com/JabRef/jabref/issues/#2090): If special fields were not selected, two menu item separator were shown - Fixed [#2064](https://github.com/JabRef/jabref/issues/2064): Not all `other fields` are shown on entry change of same type - Fixed [#2104](https://github.com/JabRef/jabref/issues/#2104): Crash after saving BibTeX source with parsing error +- Fixed [#2109](https://github.com/JabRef/jabref/issues/#2109): Ctrl-s doesn't trigger parsing error message ### Removed diff --git a/src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java b/src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java index db977b09dbb..788be63b678 100644 --- a/src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java +++ b/src/main/java/net/sf/jabref/gui/entryeditor/EntryEditor.java @@ -610,8 +610,6 @@ private void setupJTextComponent(JTextComponent textComponent) { inputMap.put(Globals.getKeyPrefs().getKey(KeyBinding.HELP), "help"); actionMap.put("help", getHelpAction()); - inputMap.put(Globals.getKeyPrefs().getKey(KeyBinding.SAVE_DATABASE), "save"); - actionMap.put("save", getSaveDatabaseAction()); inputMap.put(Globals.getKeyPrefs().getKey(KeyBinding.NEXT_TAB), "nexttab"); actionMap.put("nexttab", frame.nextTab); @@ -871,6 +869,7 @@ private boolean storeSource() { if (answer != 0) { updateSource = true; + lastSourceAccepted = true; updateSource(); } }