From a95f4feb836e1c5d2595c42a1c0b36e44939e892 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Mon, 19 Oct 2009 18:14:26 +0100 Subject: [PATCH] Blanked out message now works --- openlp/core/ui/mainwindow.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index eb7c00fe4..afe1fccf9 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -583,7 +583,12 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): self.ServiceManagerContents.onLoadService(True) if str_to_bool(self.generalConfig.get_config(u'Screen Blank', False)) \ and str_to_bool(self.generalConfig.get_config(u'Blank Warning', False)): - print "Popup goes here" + QtGui.QMessageBox.question(None, + translate(u'mainWindow', u'OpenLP Main Display Blanked'), + translate(u'mainWindow', u'The Main Display has been blanked out'), + QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Ok), + QtGui.QMessageBox.Ok) + self.LiveController.blackPushButton.setChecked(True) def onHelpAboutItemClicked(self): """