forked from openlp/openlp
Made changes to keep others happy.
This commit is contained in:
parent
2591d24a41
commit
657beb727c
@ -229,10 +229,10 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
||||
pixmapHeight + 2 * frameWidth)
|
||||
|
||||
def validateCurrentPage(self):
|
||||
background_image = BackgroundType.to_string(BackgroundType.Image)
|
||||
if self.page(self.currentId()) == self.backgroundPage and \
|
||||
self.theme.background_type == \
|
||||
BackgroundType.to_string(BackgroundType.Image) and \
|
||||
unicode(self.imageFileEdit.text()) == u'':
|
||||
self.theme.background_type == background_image and \
|
||||
self.imageFileEdit.text().isEmpty():
|
||||
QtGui.QMessageBox.critical(self,
|
||||
translate('OpenLP.ThemeWizard', 'Background Image Empty'),
|
||||
translate('OpenLP.ThemeWizard', 'You have not selected a '
|
||||
|
Loading…
Reference in New Issue
Block a user