forked from openlp/openlp
Fix adding Images to existing service items
bzr-revno: 1233 Fixes: https://launchpad.net/bugs/704522
This commit is contained in:
commit
45d489b937
@ -243,7 +243,7 @@ class ServiceItem(object):
|
||||
file to represent this item.
|
||||
"""
|
||||
service_header = {
|
||||
u'name': self.name.lower(),
|
||||
u'name': self.name,
|
||||
u'plugin': self.name,
|
||||
u'theme': self.theme,
|
||||
u'title': self.title,
|
||||
|
@ -1082,7 +1082,7 @@ class ServiceManager(QtGui.QWidget):
|
||||
"""
|
||||
link = event.mimeData()
|
||||
if link.hasText():
|
||||
plugin = event.mimeData().text()
|
||||
plugin = unicode(event.mimeData().text())
|
||||
item = self.serviceManagerList.itemAt(event.pos())
|
||||
# ServiceManager started the drag and drop
|
||||
if plugin == u'ServiceManager':
|
||||
|
Loading…
Reference in New Issue
Block a user