This commit is contained in:
Samuel Mehrbrodt 2015-08-26 10:40:09 +02:00
parent 8d791a51f4
commit 813cbaf2ad

View File

@ -1083,8 +1083,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow, RegistryProperties):
else:
if Settings().value('advanced/enable exit confirmation'):
msg_box = QtGui.QMessageBox(QtGui.QMessageBox.Question, translate('OpenLP.MainWindow', 'Close OpenLP'),
translate('OpenLP.MainWindow', 'Are you sure you want to close '
'OpenLP?'),
translate('OpenLP.MainWindow', 'Are you sure you want to close OpenLP?'),
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Close |
QtGui.QMessageBox.Cancel), self)
msg_box.setButtonText(QtGui.QMessageBox.Close, translate('OpenLP.MainWindow', 'Close OpenLP'))