forked from openlp/openlp
Fixed the "Bible" item in the "Import" menu.
bzr-revno: 773
This commit is contained in:
commit
daa42bce71
@ -73,7 +73,7 @@ class BiblePlugin(Plugin):
|
||||
self.ImportBibleItem.setText(import_menu.trUtf8('&Bible'))
|
||||
# Signals and slots
|
||||
QtCore.QObject.connect(self.ImportBibleItem,
|
||||
QtCore.SIGNAL(u'triggered()'), self.onBibleNewClick)
|
||||
QtCore.SIGNAL(u'triggered()'), self.onBibleImportClick)
|
||||
self.ImportBibleItem.setVisible(False)
|
||||
|
||||
def add_export_menu_item(self, export_menu):
|
||||
@ -83,9 +83,9 @@ class BiblePlugin(Plugin):
|
||||
self.ExportBibleItem.setText(export_menu.trUtf8('&Bible'))
|
||||
self.ExportBibleItem.setVisible(False)
|
||||
|
||||
def onBibleNewClick(self):
|
||||
def onBibleImportClick(self):
|
||||
if self.media_item:
|
||||
self.media_item.onNewClick()
|
||||
self.media_item.onImportClick()
|
||||
|
||||
def about(self):
|
||||
about_text = self.trUtf8('<strong>Bible Plugin</strong><br />This '
|
||||
|
Loading…
Reference in New Issue
Block a user