diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/original.py | 3 | ||||
| -rw-r--r-- | components/text.py | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/components/original.py b/components/original.py index 5655867..e543dac 100644 --- a/components/original.py +++ b/components/original.py @@ -34,6 +34,9 @@ class Component: self.visColor = RGBFromString(self.page.lineEdit_visColor.text()) self.parent.drawPreview() + def version(self): + return 1 + def savePreset(self): return {} diff --git a/components/text.py b/components/text.py index e900994..334fc80 100644 --- a/components/text.py +++ b/components/text.py @@ -55,6 +55,9 @@ class Component: self.page = page return page + def version(self): + return 1 + def update(self): self.title = self.page.lineEdit_title.text() self.alignment = self.page.comboBox_textAlign.currentIndex() |
