Browse Source

Merge pull request #717 in DESIGN/design from ~ZACK/design:release/10.0 to release/10.0

* commit 'bd65d47a210a6f8b5ce022ea79fe52f8feb70a39':
  REPORT-10829  装了日志插件后设计器无法关闭
bugfix/10.0
zack 6 years ago
parent
commit
3e2995c6fe
  1. 5
      designer-base/src/main/java/com/fr/design/mainframe/loghandler/LogMessageBar.java

5
designer-base/src/main/java/com/fr/design/mainframe/loghandler/LogMessageBar.java

@ -69,8 +69,11 @@ public class LogMessageBar extends JPanel {
return new Dimension(width, 24); return new Dimension(width, 24);
} }
/**
* 销毁内置的日志面板,外部插件会用到
*/
public void disposeLogDialog() { public void disposeLogDialog() {
if (dlg != null) { if (dlg != null && dlg.isShowing()) {
dlg.dispose(); dlg.dispose();
} }
THIS = null; THIS = null;

Loading…
Cancel
Save