Disable theme preview generation for now

This commit is contained in:
Raoul Snyman 2018-01-30 22:02:38 -07:00
parent 9c4f5857fc
commit b758bb2f52
1 changed files with 2 additions and 1 deletions

View File

@ -677,7 +677,8 @@ 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')
self.generate_and_save_image(name, theme)
# TODO: When we get preview generation working again, fix this
# self.generate_and_save_image(name, theme)
def generate_and_save_image(self, theme_name, theme):
"""