diff --git a/openlp/core/lib/serviceitem.py b/openlp/core/lib/serviceitem.py index ce0907fbb..5c70ac18d 100644 --- a/openlp/core/lib/serviceitem.py +++ b/openlp/core/lib/serviceitem.py @@ -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, diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 1acf8b8a0..27c792367 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -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': @@ -1107,6 +1107,8 @@ class ServiceManager(QtGui.QWidget): # we are over somthing so lets investigate pos = self._getParentItemData(item) - 1 serviceItem = self.serviceItems[pos] + print plugin, serviceItem[u'service_item'].name + print serviceItem[u'service_item'].is_capable(ItemCapabilities.AllowsAdditions) if (plugin == serviceItem[u'service_item'].name and serviceItem[u'service_item'].is_capable( ItemCapabilities.AllowsAdditions)):