aboutsummaryrefslogtreecommitdiff
path: root/src/components/text.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/text.py
parentd7b678f66d1bb1d5c7ccbbf0c8871b66cc1f8750 (diff)
components automatically drawPreview & save currentPreset
this makes a Component easier to program. also more comments
Diffstat (limited to 'src/components/text.py')
-rw-r--r--src/components/text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/text.py b/src/components/text.py
index c52bdc5..19460e5 100644
--- a/src/components/text.py
+++ b/src/components/text.py
@@ -69,7 +69,7 @@ class Component(Component):
btnStyle = "QPushButton { background-color : %s; outline: none; }" \
% QColor(*self.textColor).name()
self.page.pushButton_textColor.setStyleSheet(btnStyle)
- self.parent.drawPreview()
+
super().update()
def getXY(self):