openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #05945
[Merge] lp:~meths/openlp/trivialfixes into lp:openlp
Jon Tibble has proposed merging lp:~meths/openlp/trivialfixes into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~meths/openlp/trivialfixes/+merge/48157
Fix variable passing in one of the refactors
--
https://code.launchpad.net/~meths/openlp/trivialfixes/+merge/48157
Your team OpenLP Core is requested to review the proposed merge of lp:~meths/openlp/trivialfixes into lp:openlp.
=== modified file 'openlp/plugins/bibles/lib/mediaitem.py'
--- openlp/plugins/bibles/lib/mediaitem.py 2011-02-01 00:33:50 +0000
+++ openlp/plugins/bibles/lib/mediaitem.py 2011-02-01 13:44:53 +0000
@@ -525,7 +525,7 @@
if self.advancedClearComboBox.currentIndex() == 0:
self.listView.clear()
if self.listView.count() != 0:
- self.__checkSecondBible()
+ self.__checkSecondBible(bible, second_bible)
else:
self.displayResults(bible, second_bible)
Receiver.send_message(u'cursor_normal')
@@ -565,14 +565,14 @@
if self.quickClearComboBox.currentIndex() == 0:
self.listView.clear()
if self.listView.count() != 0 and self.search_results:
- self.__checkSecondBible()
+ self.__checkSecondBible(bible, second_bible)
elif self.search_results:
self.displayResults(bible, second_bible)
self.quickSearchButton.setEnabled(True)
Receiver.send_message(u'cursor_normal')
Receiver.send_message(u'openlp_process_events')
- def __checkSecondBible(self):
+ def __checkSecondBible(self, bible, second_bible):
"""
Check if the first item is a second bible item or not.
"""