Browse Source

Merge pull request #1356 in DESIGN/design from ~PENGDA/design:bugfix/10.0 to bugfix/10.0

* commit 'b291054cc2abdb49e55f9ec07519178e10ef9730':
  REPORT-24997 升级12.08jar包以后决策报表中插入的地图设置有问题
bugfix/10.0
pengda 5 years ago
parent
commit
88227c0de5
  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