mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
19.30.2009 2cb6f13fd6884330d7c33cc79cf2dd74ec88fc4c
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java
@@ -238,7 +238,8 @@
    {
      lastComponentWithFocus = panel.getPreferredFocusComponent();
    }
    if (visible && (lastComponentWithFocus != null))
    if (visible && (lastComponentWithFocus != null) &&
        lastComponentWithFocus.isVisible())
    {
      lastComponentWithFocus.requestFocusInWindow();
    }