From 7f6ee28f4ea727fd3087ba1d7729d8eae2667d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 10 Aug 2017 10:54:38 +0200 Subject: [PATCH] [escher] Move redraw method from App::didBecomeActive to Container::switchTo Change-Id: Ifa8bd2a37a754257d1f44d64b789f2efd25f96de --- escher/src/app.cpp | 1 - escher/src/container.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/escher/src/app.cpp b/escher/src/app.cpp index fce2e7589..a1168efd4 100644 --- a/escher/src/app.cpp +++ b/escher/src/app.cpp @@ -109,7 +109,6 @@ void App::didBecomeActive(Window * window) { m_modalViewController.viewWillAppear(); window->setContentView(view); setFirstResponder(&m_modalViewController); - window->redraw(); } void App::willBecomeInactive() { diff --git a/escher/src/container.cpp b/escher/src/container.cpp index 0c7aba640..0b918de86 100644 --- a/escher/src/container.cpp +++ b/escher/src/container.cpp @@ -27,6 +27,7 @@ void Container::switchTo(App::Snapshot * snapshot) { } if (m_activeApp) { m_activeApp->didBecomeActive(window()); + window()->redraw(); } }