forked from openlp/openlp
reverted changes
This commit is contained in:
parent
7829de8597
commit
875202deca
@ -785,7 +785,6 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
|
||||
Receiver.send_message(u'cursor_busy')
|
||||
self.image_manager.update_display()
|
||||
self.renderer.update_display()
|
||||
self.themeManagerContents.updatePreviewImages()
|
||||
self.previewController.screenSizeChanged()
|
||||
self.liveController.screenSizeChanged()
|
||||
self.setFocus()
|
||||
|
@ -660,15 +660,6 @@ class ThemeManager(QtGui.QWidget):
|
||||
pixmap.save(thumb, u'png')
|
||||
log.debug(u'Theme image written to %s', samplepathname)
|
||||
|
||||
def updatePreviewImages(self):
|
||||
"""
|
||||
Called to update the themes' preview images.
|
||||
"""
|
||||
for theme in self.themelist:
|
||||
self.generateAndSaveImage(
|
||||
self.path, theme, self.getThemeData(theme))
|
||||
self.loadThemes()
|
||||
|
||||
def generateImage(self, themeData, forcePage=False):
|
||||
"""
|
||||
Call the renderer to build a Sample Image
|
||||
|
Loading…
Reference in New Issue
Block a user