# HG changeset patch # User Ingo Weinzierl # Date 1283149078 -7200 # Node ID 1a90a126c415148316a6c2ad56ca8ccbea8114e6 # Parent 5e4d2810a73942e2f74c41cddc4cac0729efb68a Bugfix: fixed wrong attribute name while accessing raw projects of a ProjectNode. diff -r 5e4d2810a739 -r 1a90a126c415 ChangeLog --- a/ChangeLog Sun Aug 29 20:39:42 2010 +0200 +++ b/ChangeLog Mon Aug 30 08:17:58 2010 +0200 @@ -1,3 +1,9 @@ +2010-08-30 Ingo Weinzierl + + * getan/states.py, + getan/view.py: Bugfix: fixed wrong parameter name while accessing the raw + project of a project node. + 2010-08-29 Ingo Weinzierl * getan.py: Catch a window resize event before calling keypress() of the diff -r 5e4d2810a739 -r 1a90a126c415 getan/states.py --- a/getan/states.py Sun Aug 29 20:39:42 2010 +0200 +++ b/getan/states.py Mon Aug 30 08:17:58 2010 +0200 @@ -72,7 +72,7 @@ self.view.select_project(proj) self.controller.start_project(self.view.item_in_focus()) self.controller.update_entries( - self.view.item.in_focus().project) + self.view.item_in_focus()) return RunningProjectsState(self.controller, self.view) return self diff -r 5e4d2810a739 -r 1a90a126c415 getan/view.py --- a/getan/view.py Sun Aug 29 20:39:42 2010 +0200 +++ b/getan/view.py Mon Aug 30 08:17:58 2010 +0200 @@ -221,7 +221,7 @@ def select_project(self, project): for proj_node in self.rows: - if proj_node.project.key == project.key: + if proj_node.item.key == project.key: idx = self.rows.index(proj_node) self.update_focus(idx, self.focused) self.focused = idx