Skip to content

Commit

Permalink
Bugfixes in preferences handling and range checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemens82 committed Mar 14, 2011
1 parent 6916b80 commit 2046b7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/de/zbit/kegg/gui/TranslatorUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ public void saveFile() {
*/
public void keyPressed(KeyEvent e) {
// Preferences for the "input file"
PreferencesPanel.setProperty(prefsIO, e.getSource());
PreferencesPanel.setProperty(prefsIO, e.getSource(), true);
}

/*
Expand All @@ -523,7 +523,7 @@ public void keyPressed(KeyEvent e) {
*/
public void keyReleased(KeyEvent e) {
// Preferences for the "input file"
PreferencesPanel.setProperty(prefsIO, e.getSource());
PreferencesPanel.setProperty(prefsIO, e.getSource(), true);
}

/*
Expand All @@ -533,7 +533,7 @@ public void keyReleased(KeyEvent e) {
*/
public void keyTyped(KeyEvent e) {
// Preferences for the "input file"
PreferencesPanel.setProperty(prefsIO, e.getSource());
PreferencesPanel.setProperty(prefsIO, e.getSource(), true);
}

/*
Expand All @@ -544,7 +544,7 @@ public void keyTyped(KeyEvent e) {
*/
public void itemStateChanged(ItemEvent e) {
// Preferences for the "output format"
PreferencesPanel.setProperty(prefsIO, e.getSource());
PreferencesPanel.setProperty(prefsIO, e.getSource(), true);
}

/*
Expand Down

0 comments on commit 2046b7e

Please sign in to comment.