Fix message text

This commit is contained in:
Tim Bentley 2010-12-29 17:26:03 +00:00
parent 8cdf4d39bf
commit 0ec22826a8
1 changed files with 5 additions and 5 deletions

View File

@ -827,12 +827,12 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
else:
ret = QtGui.QMessageBox.question(self,
translate('OpenLP.MainWindow', 'Close OpenLP'),
translate('OpenLP.MainWindow', 'Are you sure you want to Exit.'),
translate('OpenLP.MainWindow', 'Are you sure you want to Exit?'),
QtGui.QMessageBox.StandardButtons(
QtGui.QMessageBox.Cancel |
QtGui.QMessageBox.Ok),
QtGui.QMessageBox.Ok)
if ret == QtGui.QMessageBox.Ok:
QtGui.QMessageBox.Yes |
QtGui.QMessageBox.No),
QtGui.QMessageBox.Yes)
if ret == QtGui.QMessageBox.Yes:
self.cleanUp()
event.accept()
else: