forked from openlp/openlp
Head r1260
This commit is contained in:
commit
3d81a8dc20
@ -507,7 +507,7 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
'No Service Item Selected'),
|
||||
translate('OpenLP.MediaManagerItem',
|
||||
'You must select an existing service item to add to.'))
|
||||
elif self.title.lower() == serviceItem.name.lower():
|
||||
elif self.plugin.name.lower() == serviceItem.name.lower():
|
||||
self.generateSlideData(serviceItem)
|
||||
self.parent.serviceManager.addServiceItem(serviceItem,
|
||||
replace=True)
|
||||
|
@ -42,6 +42,7 @@ class PluginStatus(object):
|
||||
Inactive = 0
|
||||
Disabled = -1
|
||||
|
||||
|
||||
class StringContent(object):
|
||||
Name = u'name'
|
||||
Import = u'import'
|
||||
@ -54,6 +55,7 @@ class StringContent(object):
|
||||
Service = u'service'
|
||||
VisibleName = u'visible_name'
|
||||
|
||||
|
||||
class Plugin(QtCore.QObject):
|
||||
"""
|
||||
Base class for openlp plugins to inherit from.
|
||||
|
Loading…
Reference in New Issue
Block a user