Fixed syntax error in opt_sr_items declaration

This commit is contained in:
Eli Algranti 2012-04-10 12:13:04 +10:00
parent 2f2dce7c68
commit 07648f1ff3

View File

@ -120,7 +120,8 @@ class SearchAndReplaceWidget(Widget, Ui_Form):
return False
return True
def opt_sr_items
@property
def opt_sr_items(self):
items = []
for row in xrange(0, self.opt_sr.rowCount()):
items.append([self.opt_sr.getItem(row,0).text(), self.opt_sr.getItem(row,1).text()])