From ce79049868897169d123ce9e8040af51672b13a6 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sun, 20 Jun 2010 14:12:49 +0200 Subject: [PATCH] Reverted a change that could introduce a bug! --- openlp/core/ui/servicemanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 93004cc64..84c4f6d0b 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -661,8 +661,8 @@ class ServiceManager(QtGui.QWidget): filename = unicode(filename) name = filename.split(os.path.sep) if filename: - SettingsManager.set_last_dir( - self.parent.serviceSettingsSection, name[0]) + SettingsManager.set_last_dir(self.parent.serviceSettingsSection, + os.path.split(filename)[0]) zip = None file_to = None try: