diff options
| author | tassaron | 2017-07-13 21:59:23 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-13 21:59:23 -0400 |
| commit | cbbb7876155cdb057b0d779cb8ab7bc1f31116b0 (patch) | |
| tree | 399a1dfcad8deb0249340ad42419b565e8887ef2 /src/core.py | |
| parent | d7b678f66d1bb1d5c7ccbbf0c8871b66cc1f8750 (diff) | |
components automatically drawPreview & save currentPreset
this makes a Component easier to program. also more comments
Diffstat (limited to 'src/core.py')
| -rw-r--r-- | src/core.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py index 3f0a6ad..2500fa6 100644 --- a/src/core.py +++ b/src/core.py @@ -414,6 +414,7 @@ class Core: f.write('[Components]\n') for comp in self.selectedComponents: saveValueStore = comp.savePreset() + saveValueStore['preset'] = comp.currentPreset f.write('%s\n' % str(comp)) f.write('%s\n' % str(comp.version())) f.write('%s\n' % toolkit.presetToString(saveValueStore)) |
