ensure the window is registered in the EventLoop before initializing modules. closes #732, #754

This commit is contained in:
Mathieu Virbel 2012-10-24 12:36:23 +02:00
parent 43940ee80a
commit 043f356cc4
1 changed files with 1 additions and 1 deletions

View File

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