mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-30 20:34:27 +01:00
Ignore requests to start the timer when it is already active
This commit is contained in:
parent
f131fa9050
commit
5676d9c78f
1 changed files with 5 additions and 2 deletions
|
@ -74,8 +74,11 @@ void TimerModel::updateTime()
|
||||||
|
|
||||||
void TimerModel::startTimer()
|
void TimerModel::startTimer()
|
||||||
{
|
{
|
||||||
|
if (!m_timer->isActive())
|
||||||
|
{
|
||||||
// Timeout every second
|
// Timeout every second
|
||||||
m_timer->start(1000);
|
m_timer->start(1000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue