Browse Source

REPORT-10829 装了日志插件后设计器无法关闭

bugfix/10.0
zack 6 years ago
parent
commit
bd65d47a21
  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