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
|
||||
"""
|
||||
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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user