diff options
| author | tassaron | 2017-08-06 21:52:44 -0400 |
|---|---|---|
| committer | tassaron | 2017-08-06 21:52:44 -0400 |
| commit | 998f74149553ac7a9e27d7c85cebceda2ef32c64 (patch) | |
| tree | 41c83cf13102a545ed1648708b84864fdc5a45be /src/component.py | |
| parent | 20905230fe6df814fdaa6173b266dd7de51bd269 (diff) | |
added stroke and font style options to Text component
Diffstat (limited to 'src/component.py')
| -rw-r--r-- | src/component.py | 4 |
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 |
