forked from openlp/openlp
Fix song issue
bzr-revno: 590
This commit is contained in:
parent
f1dab8d856
commit
14439e053a
@ -51,7 +51,7 @@ class SongsPlugin(Plugin):
|
|||||||
# Call the parent constructor
|
# Call the parent constructor
|
||||||
Plugin.__init__(self, u'Songs', u'1.9.0', plugin_helpers)
|
Plugin.__init__(self, u'Songs', u'1.9.0', plugin_helpers)
|
||||||
self.weight = -10
|
self.weight = -10
|
||||||
self.songmanager = None
|
self.songmanager = SongManager(self.config)
|
||||||
self.openlp_import_form = OpenLPImportForm()
|
self.openlp_import_form = OpenLPImportForm()
|
||||||
self.opensong_import_form = OpenSongImportForm()
|
self.opensong_import_form = OpenSongImportForm()
|
||||||
self.openlp_export_form = OpenLPExportForm()
|
self.openlp_export_form = OpenLPExportForm()
|
||||||
@ -64,8 +64,8 @@ class SongsPlugin(Plugin):
|
|||||||
|
|
||||||
def initialise(self):
|
def initialise(self):
|
||||||
log.info(u'Songs Initialising')
|
log.info(u'Songs Initialising')
|
||||||
if self.songmanager is None:
|
#if self.songmanager is None:
|
||||||
self.songmanager = SongManager(self.config)
|
# self.songmanager = SongManager(self.config)
|
||||||
Plugin.initialise(self)
|
Plugin.initialise(self)
|
||||||
self.insert_toolbox_item()
|
self.insert_toolbox_item()
|
||||||
self.ImportSongMenu.menuAction().setVisible(True)
|
self.ImportSongMenu.menuAction().setVisible(True)
|
||||||
|
Loading…
Reference in New Issue
Block a user