From e103dea7f147fb4e83b3b82480748f2d7ca857e4 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 21 Nov 2010 20:46:44 +0000 Subject: [PATCH] Add extra invalid theme name --- openlp/core/ui/themeform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/themeform.py b/openlp/core/ui/themeform.py index 1406adbbd..0ea5f057f 100644 --- a/openlp/core/ui/themeform.py +++ b/openlp/core/ui/themeform.py @@ -569,9 +569,9 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard): (QtGui.QMessageBox.Ok), QtGui.QMessageBox.Ok) return - if self.theme.theme_name == u'-1': + if self.theme.theme_name == u'-1' or self.theme.theme_name == u'None': QtGui.QMessageBox.critical(self, - translate('OpenLP.ThemeForm', 'Theme Name Missing'), + translate('OpenLP.ThemeForm', 'Theme Name Invalid'), translate('OpenLP.ThemeForm', 'Invalid theme name. ' 'Please enter one.'),