From ba1d7cf604e9913962f9e68de7195f6f992b2dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 13 Apr 2017 15:01:39 +0200 Subject: [PATCH] [escher] Correct error in tab view controller Change-Id: I18cfee524bc3141a218ede3248f9c42de2022999 --- escher/src/tab_view_controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/escher/src/tab_view_controller.cpp b/escher/src/tab_view_controller.cpp index e08735552..75d235c97 100644 --- a/escher/src/tab_view_controller.cpp +++ b/escher/src/tab_view_controller.cpp @@ -162,9 +162,9 @@ const char * TabViewController::tabName(uint8_t index) { void TabViewController::viewWillAppear() { if (m_activeChildIndex < 0) { - setActiveTab(0); + setActiveTab(0, true); } else { - setActiveTab(m_activeChildIndex); + setActiveTab(m_activeChildIndex, true); } ViewController * activeVC = m_children[m_activeChildIndex]; activeVC->viewWillAppear();