Jon Tibble has proposed merging lp:~meths/openlp/trivialfixes into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Stops the screen being reset unless it has actually been changed. Stops any
live item being blocked by the starting openlp logo image.
--
https://code.launchpad.net/~meths/openlp/trivialfixes/+merge/14179
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/core/ui/mainwindow.py'
--- openlp/core/ui/mainwindow.py 2009-10-27 07:20:01 +0000
+++ openlp/core/ui/mainwindow.py 2009-10-29 16:15:21 +0000
@@ -598,9 +598,10 @@
Show the Settings dialog
"""
self.settingsForm.exec_()
- screen_number = self.getMonitorNumber()
- self.RenderManager.update_display(screen_number)
- self.mainDisplay.setup(screen_number)
+ updated_display = self.getMonitorNumber()
+ if updated_display != self.RenderManager.current_display:
+ self.RenderManager.update_display(updated_display)
+ self.mainDisplay.setup(updated_display)
def closeEvent(self, event):
"""
_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help : https://help.launchpad.net/ListHelp