aboutsummaryrefslogtreecommitdiff
path: root/src/components/text.py
diff options
context:
space:
mode:
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):