mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Implement reset tab selection when setting exam mode
Change-Id: If448b28e3232945102b273f61509a6bda1ce6df7
This commit is contained in:
@@ -35,6 +35,7 @@ void App::Snapshot::reset() {
|
||||
m_store.setDefault();
|
||||
m_modelVersion = 0;
|
||||
m_rangeVersion = 0;
|
||||
setActiveTab(0);
|
||||
}
|
||||
|
||||
App::Descriptor * App::Snapshot::descriptor() {
|
||||
|
||||
@@ -38,6 +38,7 @@ void FunctionApp::Snapshot::reset() {
|
||||
m_interval.setStep(1);
|
||||
m_modelVersion = 0;
|
||||
m_rangeVersion = 0;
|
||||
setActiveTab(0);
|
||||
}
|
||||
|
||||
FunctionApp::FunctionApp(Container * container, Snapshot * snapshot, ViewController * rootViewController) :
|
||||
|
||||
@@ -39,6 +39,7 @@ void App::Snapshot::reset() {
|
||||
m_rangeVersion = 0;
|
||||
m_selectedHistogramBarIndex = 0;
|
||||
m_selectedBoxQuantile = BoxView::Quantile::Min;
|
||||
setActiveTab(0);
|
||||
}
|
||||
|
||||
App::Descriptor * App::Snapshot::descriptor() {
|
||||
|
||||
Reference in New Issue
Block a user