Browse Source

REPORT-30467 检测时长延长 关闭与确定对调

final/10.0
hades 5 years ago
parent
commit
a95a41adcb
  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