aboutsummaryrefslogtreecommitdiff
path: root/components/original.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/original.py')
-rw-r--r--components/original.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/original.py b/components/original.py
index e901c21..5655867 100644
--- a/components/original.py
+++ b/components/original.py
@@ -34,6 +34,9 @@ class Component:
self.visColor = RGBFromString(self.page.lineEdit_visColor.text())
self.parent.drawPreview()
+ def savePreset(self):
+ return {}
+
def previewRender(self, previewWorker):
spectrum = numpy.fromfunction(lambda x: 0.008*(x-128)**2, (255,), dtype="int16")
width = int(previewWorker.core.settings.value('outputWidth'))