Naming Conventions

This commit is contained in:
Andreas Preikschat 2010-09-26 19:23:58 +02:00
parent 2f1134556f
commit 52e572e94d

View File

@ -488,12 +488,12 @@ class BibleMediaItem(MediaManagerItem):
""" """
log.debug(u'adjustComboBox %s, %s, %s', combo, range_from, range_to) log.debug(u'adjustComboBox %s, %s, %s', combo, range_from, range_to)
if restore: if restore:
oldText = unicode(combo.currentText()) old_text = unicode(combo.currentText())
combo.clear() combo.clear()
for i in range(int(range_from), int(range_to) + 1): for i in range(int(range_from), int(range_to) + 1):
combo.addItem(unicode(i)) combo.addItem(unicode(i))
if restore and combo.findText(oldText) != -1: if restore and combo.findText(old_text) != -1:
combo.setCurrentIndex(combo.findText(oldText)) combo.setCurrentIndex(combo.findText(old_text))
def onAdvancedSearchButton(self): def onAdvancedSearchButton(self):
log.debug(u'Advanced Search Button pressed') log.debug(u'Advanced Search Button pressed')