Handle backwards find

svn: r1475
This commit is contained in:
Don Allingham 2003-04-23 00:45:07 +00:00
parent 6c18165084
commit 1ca5a75544

View File

@ -113,7 +113,7 @@ class FindBase:
def backward(self): def backward(self):
self.index = self.index - 1 self.index = self.index - 1
if self.index < 0: if self.index < 0:
self.index = len(self.list) self.index = len(self.list)-1
def on_close_clicked(self,obj): def on_close_clicked(self,obj):
"""Destroys the window in response to a close window button press""" """Destroys the window in response to a close window button press"""