diff --git a/designer_base/src/com/fr/design/mainframe/loghandler/LogHandlerBar.java b/designer_base/src/com/fr/design/mainframe/loghandler/LogHandlerBar.java index 5d9997f80..4fbef485d 100644 --- a/designer_base/src/com/fr/design/mainframe/loghandler/LogHandlerBar.java +++ b/designer_base/src/com/fr/design/mainframe/loghandler/LogHandlerBar.java @@ -108,9 +108,10 @@ public class LogHandlerBar extends JPanel implements ItemSelectable { }; if (timer != null) { timer.addActionListener(taskAction); - if (timer != null) { - timer.start(); - } + } + // taskAction里还有可能置空timer. + if (timer != null) { + timer.start(); } }