This commit is contained in:
Raoul Snyman 2010-06-20 13:43:16 +02:00
parent 28bb5e519d
commit 054ec36e4a

View File

@ -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)