forked from openlp/openlp
Fixed bug #596505
This commit is contained in:
parent
28bb5e519d
commit
054ec36e4a
@ -662,8 +662,7 @@ class ServiceManager(QtGui.QWidget):
|
||||
name = filename.split(os.path.sep)
|
||||
if filename:
|
||||
SettingsManager.set_last_dir(
|
||||
self.parent.serviceSettingsSection,
|
||||
os.path.split(filename)[0])
|
||||
self.parent.serviceSettingsSection, name[0])
|
||||
zip = None
|
||||
file_to = None
|
||||
try:
|
||||
@ -697,7 +696,7 @@ class ServiceManager(QtGui.QWidget):
|
||||
self.onNewService()
|
||||
for item in items:
|
||||
serviceitem = ServiceItem()
|
||||
serviceitem.RenderManager = self.parent.RenderManager
|
||||
serviceitem.render_manager = self.parent.RenderManager
|
||||
serviceitem.set_from_service(item, self.servicePath)
|
||||
self.validateItem(serviceitem)
|
||||
self.addServiceItem(serviceitem)
|
||||
|
Loading…
Reference in New Issue
Block a user