aboutsummaryrefslogtreecommitdiff
path: root/components/text.py
diff options
context:
space:
mode:
authortassaron2017-06-11 12:52:29 -0400
committertassaron2017-06-11 12:52:29 -0400
commitbe5d47f8634d29d58b9811657ede815814ffde18 (patch)
tree50f32b1e45c5088ce5e2da823e8a7dedc7d3d06b /components/text.py
parent59c2c090ab9275bc1146329536d43855a46d34f4 (diff)
can't right-click empty space + color eyedropper
Diffstat (limited to 'components/text.py')
-rw-r--r--components/text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/text.py b/components/text.py
index 68cffca..e8fb3d5 100644
--- a/components/text.py
+++ b/components/text.py
@@ -31,7 +31,7 @@ class Component(__base__.Component):
page.comboBox_textAlign.addItem("Right")
page.lineEdit_textColor.setText('%s,%s,%s' % self.textColor)
- page.pushButton_textColor.clicked.connect(lambda: self.pickColor())
+ page.pushButton_textColor.clicked.connect(self.pickColor)
btnStyle = "QPushButton { background-color : %s; outline: none; }" \
% QColor(*self.textColor).name()
page.pushButton_textColor.setStyleSheet(btnStyle)