aboutsummaryrefslogtreecommitdiff
path: root/src/components/original.py
diff options
context:
space:
mode:
authortassaron2017-07-13 21:59:23 -0400
committertassaron2017-07-13 21:59:23 -0400
commitcbbb7876155cdb057b0d779cb8ab7bc1f31116b0 (patch)
tree399a1dfcad8deb0249340ad42419b565e8887ef2 /src/components/original.py
parentd7b678f66d1bb1d5c7ccbbf0c8871b66cc1f8750 (diff)
components automatically drawPreview & save currentPreset
this makes a Component easier to program. also more comments
Diffstat (limited to 'src/components/original.py')
-rw-r--r--src/components/original.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/original.py b/src/components/original.py
index 3599c30..f5776a4 100644
--- a/src/components/original.py
+++ b/src/components/original.py
@@ -51,7 +51,7 @@ class Component(Component):
self.visColor = self.RGBFromString(self.page.lineEdit_visColor.text())
self.scale = self.page.spinBox_scale.value()
self.y = self.page.spinBox_y.value()
- self.parent.drawPreview()
+
super().update()
def loadPreset(self, pr, presetName=None):