Browse Source

Merge pull request #1615 in DESIGN/design from ~HADES/design:release/10.0 to release/10.0

* commit '0d02b5a02a50431737739edab2fa9e550a4f7ce5':
  REPORT-30467 检测时长延长 关闭与确定对调
feature/big-screen
Hades 5 years ago
parent
commit
9c42e7e3ce
  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