Browse Source

REPORT-24997 升级12.08jar包以后决策报表中插入的地图设置有问题

bugfix/10.0
pengda 5 years ago
parent
commit
b291054cc2
  1. 4
      designer-base/src/main/java/com/fr/design/gui/controlpane/UIControlPane.java

4
designer-base/src/main/java/com/fr/design/gui/controlpane/UIControlPane.java

@ -14,6 +14,7 @@ import com.fr.design.widget.FRWidgetFactory;
import com.fr.stable.ArrayUtils; import com.fr.stable.ArrayUtils;
import com.fr.stable.StringUtils; import com.fr.stable.StringUtils;
import com.fr.stable.os.OperatingSystem;
import javax.swing.BorderFactory; import javax.swing.BorderFactory;
import javax.swing.JComponent; import javax.swing.JComponent;
import javax.swing.JDialog; import javax.swing.JDialog;
@ -268,6 +269,9 @@ abstract class UIControlPane extends JControlPane {
addWindowFocusListener(new WindowAdapter() { addWindowFocusListener(new WindowAdapter() {
@Override @Override
public void windowLostFocus(WindowEvent e) { public void windowLostFocus(WindowEvent e) {
if (OperatingSystem.isLinux()) {
requestFocus();
}
hideDialog(); hideDialog();
} }
}); });

Loading…
Cancel
Save