forked from openlp/openlp
Move this line out of try/catch block
This commit is contained in:
parent
aa0e1ca107
commit
39fbbf779d
@ -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'),
|
||||||
|
Loading…
Reference in New Issue
Block a user