forked from openlp/openlp
actually changed validation this time
This commit is contained in:
parent
3236af354c
commit
57cf6d5445
@ -179,7 +179,7 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
|||||||
"""
|
"""
|
||||||
background_image = BackgroundType.to_string(BackgroundType.Image)
|
background_image = BackgroundType.to_string(BackgroundType.Image)
|
||||||
if self.page(self.currentId()) == self.backgroundPage and \
|
if self.page(self.currentId()) == self.backgroundPage and \
|
||||||
self.theme.background_type == background_image and is_not_image_file(self.imageFileEdit.text()):
|
self.theme.background_type == background_image and is_not_image_file(self.theme.background_filename):
|
||||||
QtGui.QMessageBox.critical(self, translate('OpenLP.ThemeWizard', 'Background Image Empty'),
|
QtGui.QMessageBox.critical(self, translate('OpenLP.ThemeWizard', 'Background Image Empty'),
|
||||||
translate('OpenLP.ThemeWizard', 'You have not selected a '
|
translate('OpenLP.ThemeWizard', 'You have not selected a '
|
||||||
'background image. Please select one before continuing.'))
|
'background image. Please select one before continuing.'))
|
||||||
|
Loading…
Reference in New Issue
Block a user