aboutsummaryrefslogtreecommitdiff
path: root/components/text.py
diff options
context:
space:
mode:
authortassaron2017-06-13 22:47:18 -0400
committertassaron2017-06-13 22:47:18 -0400
commit2ad14b7d6ca9216bcdc72c5e13937fcbccc887a3 (patch)
tree489dfd5ef2c125040fbf04415ba139fb5798c56b /components/text.py
parent307d499f9ae2729c790fe9258d88aca72331cdf6 (diff)
asterisk next to modified preset is more accurate
hopefully
Diffstat (limited to 'components/text.py')
-rw-r--r--components/text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/text.py b/components/text.py
index a40e2a9..165a093 100644
--- a/components/text.py
+++ b/components/text.py
@@ -10,7 +10,7 @@ from . import __base__
class Component(__base__.Component):
'''Title Text'''
- modified = QtCore.pyqtSignal(int, bool)
+ modified = QtCore.pyqtSignal(int, dict)
def __init__(self, *args):
super().__init__(*args)
@@ -56,7 +56,6 @@ class Component(__base__.Component):
return page
def update(self):
- super().update()
self.title = self.page.lineEdit_title.text()
self.alignment = self.page.comboBox_textAlign.currentIndex()
self.titleFont = self.page.fontComboBox_titleFont.currentFont()
@@ -66,6 +65,7 @@ class Component(__base__.Component):
self.textColor = self.RGBFromString(
self.page.lineEdit_textColor.text())
self.parent.drawPreview()
+ super().update()
def getXY(self):
'''Returns true x, y after considering alignment settings'''