diff --git a/openlp/core/display/render.py b/openlp/core/display/render.py index 90f40e4b9..f95c26286 100644 --- a/openlp/core/display/render.py +++ b/openlp/core/display/render.py @@ -485,7 +485,7 @@ class Renderer(RegistryBase, LogMixin, RegistryProperties, DisplayWindow): QtWidgets.QApplication.instance().processEvents() pixmap = self.grab() self.hide() - pixmap.save('/tmp/screen-grab.png', 'png') + #pixmap.save('/tmp/screen-grab.png', 'png') return pixmap self.force_page = False return None diff --git a/openlp/core/ui/thememanager.py b/openlp/core/ui/thememanager.py index 1e8e7a467..9849729fd 100644 --- a/openlp/core/ui/thememanager.py +++ b/openlp/core/ui/thememanager.py @@ -680,8 +680,7 @@ class ThemeManager(QtWidgets.QWidget, RegistryBase, Ui_ThemeManager, LogMixin, R copyfile(image_source_path, image_destination_path) except OSError: self.log_exception('Failed to save theme image') - # TODO: When we get preview generation working again, fix this - # self.generate_and_save_image(name, theme) + self.generate_and_save_image(name, theme) def generate_and_save_image(self, theme_name, theme): """