From 043f356cc471570e72b6db1b40301b7a723932fb Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Wed, 24 Oct 2012 12:36:23 +0200 Subject: [PATCH] ensure the window is registered in the EventLoop before initializing modules. closes #732, #754 --- kivy/core/window/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/core/window/__init__.py b/kivy/core/window/__init__.py index 0fa45b4a2..9ffd3ca97 100755 --- a/kivy/core/window/__init__.py +++ b/kivy/core/window/__init__.py @@ -476,8 +476,8 @@ class WindowBase(EventDispatcher): self.create_window() # attach modules + listener event - Modules.register_window(self) EventLoop.set_window(self) + Modules.register_window(self) EventLoop.add_event_listener(self) # manage keyboard(s)