[apps] Implement reset when exam mode is set

Change-Id: I54f769c6db42f8c9a2fe1a8f3d2295fed91db6b8
This commit is contained in:
Émilie Feral
2017-05-18 11:51:30 +02:00
parent bc73fd28b1
commit 6317f3a100
5 changed files with 14 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ void FunctionApp::Snapshot::reset() {
m_interval.setStart(0);
m_interval.setEnd(10);
m_interval.setStep(1);
m_modelVersion = 0;
m_rangeVersion = 0;
}
FunctionApp::FunctionApp(Container * container, Snapshot * snapshot, ViewController * rootViewController) :