Mercurial > getan
changeset 275:822c4facbb65
Set focus of the frame to body when set_focus in GetanView is called to set the
focus on a column.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 12 Apr 2013 09:36:03 +0200 |
parents | 1477a5fbf0cd |
children | dd575513ee1b |
files | getan/view.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/view.py Fri Apr 12 09:35:11 2013 +0200 +++ b/getan/view.py Fri Apr 12 09:36:03 2013 +0200 @@ -346,8 +346,10 @@ if elem in [0, 1]: self.columns.set_focus_column(elem) elif elem == "projects": + self.frame.set_focus("body") self.columns.set_focus_column(0) elif elem == "entries": + self.frame.set_focus("body") self.columns.set_focus_column(1) else: self.frame.set_focus(elem)