forked from openlp/openlp
Fix unnecessary screen setup
bzr-revno: 636
This commit is contained in:
commit
09a1596298
@ -598,9 +598,10 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
|
|||||||
Show the Settings dialog
|
Show the Settings dialog
|
||||||
"""
|
"""
|
||||||
self.settingsForm.exec_()
|
self.settingsForm.exec_()
|
||||||
screen_number = self.getMonitorNumber()
|
updated_display = self.getMonitorNumber()
|
||||||
self.RenderManager.update_display(screen_number)
|
if updated_display != self.RenderManager.current_display:
|
||||||
self.mainDisplay.setup(screen_number)
|
self.RenderManager.update_display(updated_display)
|
||||||
|
self.mainDisplay.setup(updated_display)
|
||||||
|
|
||||||
def closeEvent(self, event):
|
def closeEvent(self, event):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user