Procházet zdrojové kódy

Bring popped out window to focus when switching keyboard input.

Change-Id: I5e6e7883fb67a65ebfebf6cc1bbac039e5a3ec75
Fixes-Issue: CLIENT-388
Reviewed-on: http://gerrit.dmdirc.com/2623
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.8
Greg Holmes před 11 roky
rodič
revize
a70c6c75ae
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2
    0
      src/com/dmdirc/addons/ui_swing/MainFrame.java

+ 2
- 0
src/com/dmdirc/addons/ui_swing/MainFrame.java Zobrazit soubor

@@ -623,6 +623,8 @@ public final class MainFrame extends JFrame implements WindowListener,
623 623
                 framePanel.setVisible(true);
624 624
 
625 625
                 if (activeFrame != null) {
626
+                    activeFrame.requestFocus();
627
+                    activeFrame.requestFocusInWindow();
626 628
                     activeFrame.activateFrame();
627 629
                 }
628 630
 

Načítá se…
Zrušit
Uložit