diff --git a/openlp/core/ui/themeform.py b/openlp/core/ui/themeform.py index d2ebaa275..37978d10a 100644 --- a/openlp/core/ui/themeform.py +++ b/openlp/core/ui/themeform.py @@ -451,7 +451,7 @@ class ThemeForm(QtWidgets.QWizard, Ui_ThemeWizard, RegistryProperties): def on_image_path_edit_path_changed(self, new_path): """ Handle the `pathEditChanged` signal from image_path_edit - + :param openlp.core.common.path.Path new_path: Path to the new image :rtype: None """ @@ -461,7 +461,7 @@ class ThemeForm(QtWidgets.QWizard, Ui_ThemeWizard, RegistryProperties): def on_video_path_edit_path_changed(self, new_path): """ Handle the `pathEditChanged` signal from video_path_edit - + :param openlp.core.common.path.Path new_path: Path to the new video :rtype: None """ diff --git a/openlp/core/ui/thememanager.py b/openlp/core/ui/thememanager.py index 7e860ffca..dffa82d47 100644 --- a/openlp/core/ui/thememanager.py +++ b/openlp/core/ui/thememanager.py @@ -392,11 +392,11 @@ class ThemeManager(OpenLPMixin, RegistryMixin, QtWidgets.QWidget, Ui_ThemeManage theme_name = item.data(QtCore.Qt.UserRole) export_path, filter_used = \ FileDialog.getSaveFileName(self.main_window, - translate('OpenLP.ThemeManager', - 'Save Theme - ({name})').format(name=theme_name), - Settings().value(self.settings_section + '/last directory export'), - translate('OpenLP.ThemeManager', 'OpenLP Themes (*.otz)'), - translate('OpenLP.ThemeManager', 'OpenLP Themes (*.otz)')) + translate('OpenLP.ThemeManager', + 'Save Theme - ({name})').format(name=theme_name), + Settings().value(self.settings_section + '/last directory export'), + translate('OpenLP.ThemeManager', 'OpenLP Themes (*.otz)'), + translate('OpenLP.ThemeManager', 'OpenLP Themes (*.otz)')) self.application.set_busy_cursor() if export_path: Settings().setValue(self.settings_section + '/last directory export', export_path.parent) @@ -637,7 +637,6 @@ class ThemeManager(OpenLPMixin, RegistryMixin, QtWidgets.QWidget, Ui_ThemeManage """ Called by theme maintenance Dialog to save the theme and to trigger the reload of the theme list - :param Theme theme: The theme data object. :param openlp.core.common.path.Path image_source_path: Where the theme image is currently located. :param openlp.core.common.path.Path image_destination_path: Where the Theme Image is to be saved to