← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~trb143/openlp/b1 into lp:openlp

 

Tim Bentley has proposed merging lp:~trb143/openlp/b1 into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)

For more details, see:
https://code.launchpad.net/~trb143/openlp/b1/+merge/57207

Fix crash in last change which stopped OpenLP starting

-- 
https://code.launchpad.net/~trb143/openlp/b1/+merge/57207
Your team OpenLP Core is requested to review the proposed merge of lp:~trb143/openlp/b1 into lp:openlp.
=== modified file 'openlp/plugins/bibles/lib/mediaitem.py'
--- openlp/plugins/bibles/lib/mediaitem.py	2011-04-10 18:54:26 +0000
+++ openlp/plugins/bibles/lib/mediaitem.py	2011-04-11 18:09:14 +0000
@@ -326,7 +326,8 @@
             self.settingsSection + u'/advanced bible',
             QtCore.QVariant(u'')).toString()
         find_and_set_in_combo_box(self.advancedVersionComboBox, book)
-        self.initialiseAdvancedBible(unicode(book))
+        if book:
+            self.initialiseAdvancedBible(unicode(book))
 
     def reloadBibles(self):
         log.debug(u'Reloading Bibles')
@@ -840,4 +841,4 @@
             self.settings.layout_style)
         QtCore.QSettings().setValue(
             self.settingsSection + u'/verse layout style',
-            QtCore.QVariant(self.settings.layout_style))
\ No newline at end of file
+            QtCore.QVariant(self.settings.layout_style))