forked from openlp/openlp
set cursor busy, update the preview images before the displays
This commit is contained in:
parent
a2ab806ca9
commit
7829de8597
@ -778,17 +778,19 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
|
|||||||
|
|
||||||
def screenChanged(self):
|
def screenChanged(self):
|
||||||
"""
|
"""
|
||||||
The screen has changed to so tell the displays to update_display
|
The screen has changed so we have to update components such as the
|
||||||
their locations
|
renderer.
|
||||||
"""
|
"""
|
||||||
log.debug(u'screenChanged')
|
log.debug(u'screenChanged')
|
||||||
|
Receiver.send_message(u'cursor_busy')
|
||||||
self.image_manager.update_display()
|
self.image_manager.update_display()
|
||||||
self.renderer.update_display()
|
self.renderer.update_display()
|
||||||
self.liveController.screenSizeChanged()
|
|
||||||
self.previewController.screenSizeChanged()
|
|
||||||
self.themeManagerContents.updatePreviewImages()
|
self.themeManagerContents.updatePreviewImages()
|
||||||
|
self.previewController.screenSizeChanged()
|
||||||
|
self.liveController.screenSizeChanged()
|
||||||
self.setFocus()
|
self.setFocus()
|
||||||
self.activateWindow()
|
self.activateWindow()
|
||||||
|
Receiver.send_message(u'cursor_normal')
|
||||||
|
|
||||||
def closeEvent(self, event):
|
def closeEvent(self, event):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user