# HG changeset patch # User Björn Ricks # Date 1365674836 -7200 # Node ID 438f6ce81e3df5a8588bd865d6b23460cfe56c46 # Parent cf905ed23de082b99525cb77ebd50f2d2863edf8 Fix don't crash when adding a project view got renamed to frame diff -r cf905ed23de0 -r 438f6ce81e3d getan/states.py --- a/getan/states.py Thu Apr 11 12:06:35 2013 +0200 +++ b/getan/states.py Thu Apr 11 12:07:16 2013 +0200 @@ -623,7 +623,7 @@ def __init__(self, controller, view): super(AlterProjectState, self).__init__(controller, view, None, - controller.view.view.get_footer()) + controller.view.get_frame().get_footer()) def exit(self): self.controller.view.set_footer_text(self.msg('choose_proj'), 'question') @@ -664,7 +664,7 @@ controller.view.set_footer_text(self.msg('proj_description'), 'question', edit=True) super(AddProjectDescriptionState, self).__init__(controller, view) - self.controller.view.view.set_focus('footer') + self.controller.view.set_focus('footer') self.key = key def enter(self):