aboutsummaryrefslogtreecommitdiff
path: root/src/component.py
diff options
context:
space:
mode:
authortassaron2017-08-06 21:52:44 -0400
committertassaron2017-08-06 21:52:44 -0400
commit998f74149553ac7a9e27d7c85cebceda2ef32c64 (patch)
tree41c83cf13102a545ed1648708b84864fdc5a45be /src/component.py
parent20905230fe6df814fdaa6173b266dd7de51bd269 (diff)
added stroke and font style options to Text component
Diffstat (limited to 'src/component.py')
-rw-r--r--src/component.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/component.py b/src/component.py
index 5b38473..5b6f9a7 100644
--- a/src/component.py
+++ b/src/component.py
@@ -198,7 +198,7 @@ class Component(QtCore.QObject, metaclass=ComponentMetaclass):
try:
preset = self.savePreset()
except Exception as e:
- preset = '%s occured while saving preset' % str(e)
+ preset = '%s occurred while saving preset' % str(e)
return '%s\n%s\n%s' % (
self.__class__.name, str(self.__class__.version), preset
)
@@ -275,7 +275,7 @@ class Component(QtCore.QObject, metaclass=ComponentMetaclass):
Call super().widget(*args) to create the component widget
which also auto-connects any common widgets (e.g., checkBoxes)
to self.update(). Then in a subclass connect special actions
- (e.g., pushButtons to select a file/colour) and initialize
+ (e.g., pushButtons to select a file) and initialize
'''
self.parent = parent
self.settings = parent.settings