[escher] Clean stack view controller

Change-Id: I922ed49353b98b7e763c7b6fefd43ed214a6a794
This commit is contained in:
Émilie Feral
2017-04-20 17:55:07 +02:00
parent 998b6c7d1e
commit 7b9e199d44
4 changed files with 70 additions and 53 deletions

View File

@@ -230,8 +230,8 @@ bool ButtonRowController::handleEvent(Ion::Events::Event event) {
void ButtonRowController::viewWillAppear() {
/* We need to layout subviews at first appearance because the number of
* buttons might have changed between 2 appearences. */
m_contentView.layoutSubviews();
m_contentView.mainViewController()->viewWillAppear();
m_contentView.layoutSubviews();
}
void ButtonRowController::viewDidDisappear() {