From 90ac6da8392b049345a97c2b67f40e35b6f4f3b7 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sun, 29 Aug 2010 20:12:36 +0200 Subject: [PATCH 1/2] Don't show the display on startup if there's only one monitor. --- openlp/core/ui/maindisplay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index 98b7a84ec..085ebd97d 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -155,9 +155,10 @@ class MainDisplay(DisplayWidget): self.webView.setHtml(build_html(serviceItem, self.screen, \ self.parent.alertTab)) self.initialFrame = True - self.show() + #self.show() # To display or not to display? if not self.screen[u'primary']: + self.show() self.primary = False else: self.primary = True From 75d64a165c3e339c7802a984e5277a0b10b80004 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sun, 29 Aug 2010 21:16:17 +0200 Subject: [PATCH 2/2] Removed the commented out line, since this works. --- openlp/core/ui/maindisplay.py | 1 - 1 file changed, 1 deletion(-) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index 085ebd97d..9e9b9ad4e 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -155,7 +155,6 @@ class MainDisplay(DisplayWidget): self.webView.setHtml(build_html(serviceItem, self.screen, \ self.parent.alertTab)) self.initialFrame = True - #self.show() # To display or not to display? if not self.screen[u'primary']: self.show()