Browse Source

This code is really not required, might even fix an issue.

Change-Id: I91d336926db51db0d6332afc78f78bc0058ba998
Fixes-Issue: CLIENT-359
Reviewed-on: http://gerrit.dmdirc.com/2464
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.7rc1
Greg Holmes 12 years ago
parent
commit
61d33d4471

+ 2
- 10
src/com/dmdirc/addons/ui_swing/components/inputfields/SwingInputHandler.java View File

@@ -40,7 +40,6 @@ import javax.swing.AbstractAction;
40 40
 import javax.swing.JComponent;
41 41
 import javax.swing.JTextField;
42 42
 import javax.swing.KeyStroke;
43
-import javax.swing.SwingUtilities;
44 43
 import javax.swing.text.JTextComponent;
45 44
 
46 45
 /**
@@ -291,15 +290,8 @@ public class SwingInputHandler extends InputHandler implements KeyListener {
291 290
                     && (flags & HANDLE_RETURN) == HANDLE_RETURN) {
292 291
                 target.setText("");
293 292
             }
294
-            SwingUtilities.invokeLater(new Runnable() {
295
-
296
-                /** {@inheritDoc} */
297
-                @Override
298
-                public void run() {
299
-                    handleKeyPressed(line, e.getKeyCode(), e.isShiftDown(),
300
-                            UIUtilities.isCtrlDown(e));
301
-                }
302
-            });
293
+            handleKeyPressed(line, e.getKeyCode(), e.isShiftDown(),
294
+                    UIUtilities.isCtrlDown(e));
303 295
         }
304 296
     }
305 297
 

Loading…
Cancel
Save