diff options
-rw-r--r-- | src/FbTk/Timer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc index 9ac0824..ddc24ea 100644 --- a/src/FbTk/Timer.cc +++ b/src/FbTk/Timer.cc | |||
@@ -84,7 +84,8 @@ void Timer::setCommand(RefCount<Command> &cmd) { | |||
84 | void Timer::start() { | 84 | void Timer::start() { |
85 | gettimeofday(&m_start, 0); | 85 | gettimeofday(&m_start, 0); |
86 | 86 | ||
87 | if (! m_timing) { | 87 | // only add Timers that actually DO something |
88 | if (! m_timing && *m_handler) { | ||
88 | m_timing = true; | 89 | m_timing = true; |
89 | addTimer(this); //add us to the list | 90 | addTimer(this); //add us to the list |
90 | } | 91 | } |