From 90b806c6a481b6663ffddcc0f1555ec06cd24e1f Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sun, 12 Dec 2010 16:57:43 +0100 Subject: [PATCH] comment fix --- openlp/plugins/alerts/forms/alertform.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openlp/plugins/alerts/forms/alertform.py b/openlp/plugins/alerts/forms/alertform.py index 20b225ebb..ff5072560 100644 --- a/openlp/plugins/alerts/forms/alertform.py +++ b/openlp/plugins/alerts/forms/alertform.py @@ -168,8 +168,8 @@ class AlertForm(QtGui.QDialog, Ui_AlertDialog): The alert text (unicode). """ if text: - # The ParameterEdit field is not empty, but we have not found '<>' - # in the alert text. + # We found '<>' in the alert text, but the ParameterEdit field is + # empty. if text.find(u'<>') != -1 and not self.ParameterEdit.text() and \ QtGui.QMessageBox.question(self, translate( 'AlertPlugin.AlertForm', 'No Parameter found'), @@ -180,8 +180,8 @@ class AlertForm(QtGui.QDialog, Ui_AlertDialog): QtGui.QMessageBox.Yes)) == QtGui.QMessageBox.No: self.ParameterEdit.setFocus() return False - # We found '<>' in the alert text, but the ParameterEdit field it - # empty. + # The ParameterEdit field is not empty, but we have not found '<>' + # in the alert text. elif text.find(u'<>') == -1 and self.ParameterEdit.text() and \ QtGui.QMessageBox.question(self, translate( 'AlertPlugin.AlertForm', 'No Placeholder found'),