diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 569ed2133..4ec4d9ea7 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -1083,10 +1083,9 @@ 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?'), - QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Close | - QtGui.QMessageBox.Cancel), self) + 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')) msg_box.setDefaultButton(QtGui.QMessageBox.Close) if msg_box.exec() == QtGui.QMessageBox.Close: