| 258 | } |
| 259 | |
| 260 | void MacroConditionTimerEdit::PauseContinueClicked() |
| 261 | { |
| 262 | GUARD_LOADING_AND_LOCK(); |
| 263 | if (_entryData->_paused) { |
| 264 | timer.start(1000); |
| 265 | _entryData->Continue(); |
| 266 | } else { |
| 267 | _entryData->Pause(); |
| 268 | timer.stop(); |
| 269 | } |
| 270 | SetPauseContinueButtonLabel(); |
| 271 | } |
| 272 | |
| 273 | void MacroConditionTimerEdit::ResetClicked() |
| 274 | { |