Browse Source

Fixed text preferences ignoring the last character that was typed

git-svn-id: http://svn.dmdirc.com/trunk@3454 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Chris Smith 16 years ago
parent
commit
c38845aa61
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/dmdirc/ui/swing/dialogs/prefs/SwingPreferencesDialog.java

+ 1
- 1
src/com/dmdirc/ui/swing/dialogs/prefs/SwingPreferencesDialog.java View File

@@ -286,7 +286,7 @@ public final class SwingPreferencesDialog extends StandardDialog implements
286 286
                 ((ValidatingJTextField) option).setText(setting.getValue());
287 287
                 ((ValidatingJTextField) option).addKeyListener(new KeyAdapter() {
288 288
                     @Override
289
-                    public void keyTyped(final KeyEvent e) {
289
+                    public void keyReleased(final KeyEvent e) {
290 290
                         setting.setValue(((JTextField) e.getSource()).getText());
291 291
                     }
292 292
                 });

Loading…
Cancel
Save