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)
|
name = filename.split(os.path.sep)
|
||||||
if filename:
|
if filename:
|
||||||
SettingsManager.set_last_dir(
|
SettingsManager.set_last_dir(
|
||||||
self.parent.serviceSettingsSection,
|
self.parent.serviceSettingsSection, name[0])
|
||||||
os.path.split(filename)[0])
|
|
||||||
zip = None
|
zip = None
|
||||||
file_to = None
|
file_to = None
|
||||||
try:
|
try:
|
||||||
@ -697,7 +696,7 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
self.onNewService()
|
self.onNewService()
|
||||||
for item in items:
|
for item in items:
|
||||||
serviceitem = ServiceItem()
|
serviceitem = ServiceItem()
|
||||||
serviceitem.RenderManager = self.parent.RenderManager
|
serviceitem.render_manager = self.parent.RenderManager
|
||||||
serviceitem.set_from_service(item, self.servicePath)
|
serviceitem.set_from_service(item, self.servicePath)
|
||||||
self.validateItem(serviceitem)
|
self.validateItem(serviceitem)
|
||||||
self.addServiceItem(serviceitem)
|
self.addServiceItem(serviceitem)
|
||||||
|
Loading…
Reference in New Issue
Block a user