Mercurial > getan
changeset 27:1a90a126c415
Bugfix: fixed wrong attribute name while accessing raw projects of a ProjectNode.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 30 Aug 2010 08:17:58 +0200 |
parents | 5e4d2810a739 |
children | 60c0bcdf01ab |
files | ChangeLog getan/states.py getan/view.py |
diffstat | 3 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <ingo.weinzierl@intevation.de> + + * 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 <ingo_weinzierl@web.de> * getan.py: Catch a window resize event before calling keypress() of the
--- 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
--- 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