Mercurial > mamba
changeset 524:dc5fdd7b3ce5
Defocus while we still have the focused things to defocus. Otherwise we crash in a way that makes confluence sad.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 18 Sep 2011 00:57:21 +0200 |
parents | 01ef685191d3 |
children | d48d106c30b4 |
files | mamba/habitats/levelmenu.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mamba/habitats/levelmenu.py Sun Sep 18 00:57:10 2011 +0200 +++ b/mamba/habitats/levelmenu.py Sun Sep 18 00:57:21 2011 +0200 @@ -111,6 +111,7 @@ self.container.adjust_focus(1) def change_page(self, ev, widget, direction): + self.container.defocus() self.page += direction self.setup_levels() return True