From 592ae15499ba016717da8a38ea9bbe99101127a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 14 Nov 2018 17:24:06 +0100 Subject: [PATCH] [statistics] MultipleDataViewController: always select the right subview (the controlled view might have been destroyed -returing to home for instance) --- apps/statistics/multiple_data_view_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/statistics/multiple_data_view_controller.cpp b/apps/statistics/multiple_data_view_controller.cpp index 04eee946c..440c09e78 100644 --- a/apps/statistics/multiple_data_view_controller.cpp +++ b/apps/statistics/multiple_data_view_controller.cpp @@ -30,8 +30,8 @@ void MultipleDataViewController::viewWillAppear() { multipleDataView()->setDisplayBanner(true); if (*m_selectedSeriesIndex < 0) { *m_selectedSeriesIndex = multipleDataView()->seriesOfSubviewAtIndex(0); - multipleDataView()->selectDataView(*m_selectedSeriesIndex); } + multipleDataView()->selectDataView(*m_selectedSeriesIndex); reloadBannerView(); multipleDataView()->reload(); }