mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[escher] Correct error in tab view controller
Change-Id: I18cfee524bc3141a218ede3248f9c42de2022999
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user