Mercurial > getan > getan
diff getan/controller.py @ 255:fcd0a8b09fcf
Fix: Don't crash when the console window is resized
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 11 Apr 2013 11:37:55 +0200 |
parents | 78967e4218bd |
children | b702af6793c6 |
line wrap: on
line diff
--- a/getan/controller.py Thu Apr 11 10:34:27 2013 +0200 +++ b/getan/controller.py Thu Apr 11 11:37:55 2013 +0200 @@ -50,8 +50,8 @@ def input_filter(self, input, raw_input): if 'window resize' in input: - self.view.loop.screen_size = None - self.view.loop.draw_screen() + self.loop.screen_size = None + self.loop.draw_screen() else: input = self.state.input_filter(input, raw_input) self.loop.process_input(input)