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)
if restore:
oldText = unicode(combo.currentText())
old_text = unicode(combo.currentText())
combo.clear()
for i in range(int(range_from), int(range_to) + 1):
combo.addItem(unicode(i))
if restore and combo.findText(oldText) != -1:
combo.setCurrentIndex(combo.findText(oldText))
if restore and combo.findText(old_text) != -1:
combo.setCurrentIndex(combo.findText(old_text))
def onAdvancedSearchButton(self):
log.debug(u'Advanced Search Button pressed')