From 3baf2f2f7baed56c890aae19b96b4ac7e4250aae Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Thu, 28 Jan 2010 07:39:34 +0000 Subject: [PATCH] Import the startup showing the update screen --- openlp.pyw | 2 +- openlp/core/ui/mainwindow.py | 3 ++- version.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/openlp.pyw b/openlp.pyw index 3b97a33d9..f1a710f59 100755 --- a/openlp.pyw +++ b/openlp.pyw @@ -131,7 +131,7 @@ class OpenLP(QtGui.QApplication): if show_splash: # now kill the splashscreen self.splash.finish(self.mainWindow) - self.mainWindow.versionCheck() + #self.mainWindow.versionCheck() return self.exec_() def main(): diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 8e93fbf12..b41b6f1b4 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -50,7 +50,6 @@ media_manager_style = """ border-color: palette(light); } """ - class Ui_MainWindow(object): def setupUi(self, MainWindow): """ @@ -582,6 +581,8 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): self.trUtf8('The Main Display has been blanked out'), QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Ok), QtGui.QMessageBox.Ok) + self.repaint() + self.versionCheck() def onHelpAboutItemClicked(self): """ diff --git a/version.txt b/version.txt index a41b1ed7a..fcd5e288e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.9.0-697 +1.9.0-696