[apps] VariableBoxController: tidy layout before disappearing

This commit is contained in:
Émilie Feral
2018-10-09 11:37:23 +02:00
parent ef05393c9f
commit 7e37b09660
4 changed files with 12 additions and 12 deletions

View File

@@ -70,8 +70,12 @@ View * VariableBoxEmptyController::view() {
return &m_view;
}
void VariableBoxEmptyController::viewDidDisappear() {
m_view.setLayout(Layout());
}
void VariableBoxEmptyController::setType(Type type) {
I18n::Message message;
I18n::Message message = I18n::Message::Default;
Layout layout;
switch (type) {
case Type::Expressions: