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

View File

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