aboutsummaryrefslogtreecommitdiff
path: root/components/text.py
diff options
context:
space:
mode:
authorDH42017-06-02 00:30:44 -0500
committerDH42017-06-02 00:30:44 -0500
commit73a0492585e238d32869bfa9c53ddc95481ab1c5 (patch)
treeaae63e3a70cd65fdfed4aeb951474392c2f78172 /components/text.py
parent6bf36d0324ac4b04717a458adbb7172f717ec16a (diff)
Cancel button stops pre-processing too.
Diffstat (limited to 'components/text.py')
-rw-r--r--components/text.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/text.py b/components/text.py
index 9237167..da2706b 100644
--- a/components/text.py
+++ b/components/text.py
@@ -141,3 +141,9 @@ class Component(__base__.Component):
return
self.page.lineEdit_textColor.setText(RGBstring)
self.page.pushButton_textColor.setStyleSheet(btnStyle)
+
+ def cancel(self):
+ self.canceled = True
+
+ def reset(self):
+ self.canceled = False \ No newline at end of file