Browse Source

Merge pull request #1616 in DESIGN/design from ~HADES/design:final/10.0 to final/10.0

* commit 'a95a41adcb75bad379730ac30f87cd5cb1188cbf':
  REPORT-30467 检测时长延长 关闭与确定对调
final/10.0
Kara 5 years ago
parent
commit
ad7c33eb69
  1. 4
      designer-realize/src/main/java/com/fr/start/DesignerSuperListener.java

4
designer-realize/src/main/java/com/fr/start/DesignerSuperListener.java

@ -31,7 +31,7 @@ import java.util.concurrent.TimeUnit;
public class DesignerSuperListener { public class DesignerSuperListener {
private static final DesignerSuperListener INSTANCE = new DesignerSuperListener(); private static final DesignerSuperListener INSTANCE = new DesignerSuperListener();
private static final int ONCE_DELAY = 90; private static final int ONCE_DELAY = 180;
private static final int FIXED_DELAY = 0; private static final int FIXED_DELAY = 0;
private static final int FIXED_FREQ = 2; private static final int FIXED_FREQ = 2;
@ -116,6 +116,7 @@ public class DesignerSuperListener {
@Override @Override
protected void okEvent() { protected void okEvent() {
dispose(); dispose();
DesignerLauncher.getInstance().exit();
} }
@Override @Override
@ -125,7 +126,6 @@ public class DesignerSuperListener {
} }
}; };
dialog.setVisible(true); dialog.setVisible(true);
DesignerLauncher.getInstance().exit();
} }
private void startFallBackListener() { private void startFallBackListener() {

Loading…
Cancel
Save