This commit is contained in:
Phill Ridout 2018-01-21 07:40:26 +00:00
parent 368b0ce75c
commit 7c68e9d022
2 changed files with 3 additions and 2 deletions

View File

@ -539,7 +539,7 @@ class ServiceItem(RegistryProperties):
Confirms if the ServiceItem uses a file
"""
return self.service_item_type == ServiceItemType.Image or \
(self.service_item_type == ServiceItemType.Command and not self.is_capable(ItemCapabilities.IsOptical))
(self.service_item_type == ServiceItemType.Command and not self.is_capable(ItemCapabilities.IsOptical))
def is_text(self):
"""

View File

@ -599,7 +599,8 @@ class ServiceManager(QtWidgets.QWidget, RegistryBase, Ui_ServiceManager, LogMixi
self.log_exception('Failed to save service to disk: {name}'.format(name=temp_file.name))
self.main_window.error_message(
translate('OpenLP.ServiceManager', 'Error Saving File'),
translate('OpenLP.ServiceManager', 'There was an error saving your file.\n\n{error}').format(error=error))
translate('OpenLP.ServiceManager',
'There was an error saving your file.\n\n{error}').format(error=error))
return self.save_file_as()
self.main_window.finished_progress_bar()
self.application.set_normal_cursor()