From f0fcb3fc95becbcaa447aaf0e15a3940e8d50970 Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 15 May 2017 10:28:11 +0800 Subject: [PATCH] 1 --- .../com/fr/design/mainframe/loghandler/LogHandlerBar.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 5d9997f807..4fbef485d8 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(); } }