Move this line out of try/catch block

This commit is contained in:
Samuel Mehrbrodt 2014-06-23 15:54:13 +02:00
parent aa0e1ca107
commit 39fbbf779d
1 changed files with 1 additions and 1 deletions

View File

@ -383,8 +383,8 @@ class ThemeManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ThemeManager, R
'/last directory export'))
self.application.set_busy_cursor()
if path:
Settings().setValue(self.settings_section + '/last directory export', path)
try:
Settings().setValue(self.settings_section + '/last directory export', path)
self._export_theme(path, theme)
QtGui.QMessageBox.information(self,
translate('OpenLP.ThemeManager', 'Theme Exported'),