app: fix window remove_widget()

This commit is contained in:
Mathieu Virbel 2012-10-10 02:12:40 +02:00
parent 1f2665c820
commit d5e5c67c2f
1 changed files with 2 additions and 2 deletions

View File

@ -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.