Browse Source

Pull request #5728: REPORT-58799【回归测试】模版缺失插件提示无法关闭

Merge in DESIGN/design from ~VITO/c-design:release/11.0 to release/11.0

* commit 'c210b8387adf9935622806ae5dbdf2dbcf3e94fc':
  REPORT-58799【回归测试】模版缺失插件提示无法关闭
fix-lag
vito 3 years ago
parent
commit
008f7e8a43
  1. 3
      designer-realize/src/main/java/com/fr/design/mainframe/app/DesignerAppUtils.java

3
designer-realize/src/main/java/com/fr/design/mainframe/app/DesignerAppUtils.java

@ -27,6 +27,7 @@ import com.fr.third.guava.cache.CacheBuilder;
import com.fr.third.guava.collect.Multimap;
import com.fr.workspace.WorkContext;
import javax.swing.SwingUtilities;
import java.time.Duration;
import java.util.Collection;
import java.util.Map;
@ -183,7 +184,7 @@ public class DesignerAppUtils {
// 试图获取多行读取错误提示并缓存待处理列表
String detail = dealWithErrorDetailMultiLineAndCache(path);
if (detail.length() > 0) {
UIUtil.invokeLaterIfNeeded(() -> {
SwingUtilities.invokeLater(() -> {
if (WorkContext.getCurrent().isLocal()) {
UIExpandDialog.Builder()
.owner(DesignerContext.getDesignerFrame())

Loading…
Cancel
Save