From 73a0492585e238d32869bfa9c53ddc95481ab1c5 Mon Sep 17 00:00:00 2001 From: DH4 Date: Fri, 2 Jun 2017 00:30:44 -0500 Subject: Cancel button stops pre-processing too. --- components/text.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'components/text.py') 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 -- cgit v1.2.3