forked from openlp/openlp
Fix crash in last change which stopped OpenLP starting
bzr-revno: 1456
This commit is contained in:
commit
6657c49b04
@ -322,11 +322,12 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
self.advancedVersionComboBox.addItem(bible)
|
self.advancedVersionComboBox.addItem(bible)
|
||||||
self.advancedSecondComboBox.addItem(bible)
|
self.advancedSecondComboBox.addItem(bible)
|
||||||
# set the default value
|
# set the default value
|
||||||
book = QtCore.QSettings().value(
|
bible = QtCore.QSettings().value(
|
||||||
self.settingsSection + u'/advanced bible',
|
self.settingsSection + u'/advanced bible',
|
||||||
QtCore.QVariant(u'')).toString()
|
QtCore.QVariant(u'')).toString()
|
||||||
find_and_set_in_combo_box(self.advancedVersionComboBox, book)
|
if bible in bibles:
|
||||||
self.initialiseAdvancedBible(unicode(book))
|
find_and_set_in_combo_box(self.advancedVersionComboBox, bible)
|
||||||
|
self.initialiseAdvancedBible(unicode(bible))
|
||||||
|
|
||||||
def reloadBibles(self):
|
def reloadBibles(self):
|
||||||
log.debug(u'Reloading Bibles')
|
log.debug(u'Reloading Bibles')
|
||||||
|
Loading…
Reference in New Issue
Block a user