From d5e5c67c2f056b670931b161dd8db173e57ec83d Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Wed, 10 Oct 2012 02:12:40 +0200 Subject: [PATCH] app: fix window remove_widget() --- kivy/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kivy/app.py b/kivy/app.py index 77e9d080b..1b47d764c 100644 --- a/kivy/app.py +++ b/kivy/app.py @@ -543,8 +543,8 @@ class App(EventDispatcher): self.dispatch('on_stop') # Clear the window children - for child in Window.children: - Window.remove_widget(child) + for child in window.children: + window.remove_widget(child) def stop(self, *largs): '''Stop the application.