forked from openlp/openlp
Removed need for signal to run appStartup
This commit is contained in:
parent
d4e6c44d21
commit
7e48256534
@ -63,8 +63,6 @@ class BiblePlugin(Plugin):
|
|||||||
self.exportBibleItem.setVisible(False)
|
self.exportBibleItem.setVisible(False)
|
||||||
if len(self.manager.old_bible_databases):
|
if len(self.manager.old_bible_databases):
|
||||||
self.toolsUpgradeItem.setVisible(True)
|
self.toolsUpgradeItem.setVisible(True)
|
||||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
|
||||||
QtCore.SIGNAL(u'bibles_app_startup'), self.appStartup)
|
|
||||||
|
|
||||||
def finalise(self):
|
def finalise(self):
|
||||||
"""
|
"""
|
||||||
|
@ -397,7 +397,7 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
self.loadBibles()
|
self.loadBibles()
|
||||||
# If called from first time wizard re-run, process any new bibles.
|
# If called from first time wizard re-run, process any new bibles.
|
||||||
if process:
|
if process:
|
||||||
Receiver.send_message(u'bibles_app_startup')
|
self.plugin.appStartup()
|
||||||
self.updateAutoCompleter()
|
self.updateAutoCompleter()
|
||||||
|
|
||||||
def initialiseAdvancedBible(self, bible):
|
def initialiseAdvancedBible(self, bible):
|
||||||
|
Loading…
Reference in New Issue
Block a user