Mercurial > getan
changeset 101:df98b84d22f9
Don't allow to select additional entries after entering the DeleteEntryState
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 12 Sep 2011 14:06:19 +0200 |
parents | 8f433e3c2f21 |
children | cd2456d0589e |
files | getan/states.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/states.py Mon Sep 12 14:05:34 2011 +0200 +++ b/getan/states.py Mon Sep 12 14:06:19 2011 +0200 @@ -428,10 +428,6 @@ self.entries = [x.item for x in self.view.selection] def keypress(self, key): - ret = super(DeleteEntryState, self).keypress(key) - if ret: - return ret - if 'y' in key: if self.entries: self.controller.delete_entries(self.entries)