aboutsummaryrefslogtreecommitdiff
path: root/src/presetmanager.py
diff options
context:
space:
mode:
authortassaron2017-07-13 21:59:23 -0400
committertassaron2017-07-13 21:59:23 -0400
commitcbbb7876155cdb057b0d779cb8ab7bc1f31116b0 (patch)
tree399a1dfcad8deb0249340ad42419b565e8887ef2 /src/presetmanager.py
parentd7b678f66d1bb1d5c7ccbbf0c8871b66cc1f8750 (diff)
components automatically drawPreview & save currentPreset
this makes a Component easier to program. also more comments
Diffstat (limited to 'src/presetmanager.py')
-rw-r--r--src/presetmanager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/presetmanager.py b/src/presetmanager.py
index 40aa73f..0028203 100644
--- a/src/presetmanager.py
+++ b/src/presetmanager.py
@@ -160,6 +160,7 @@ class PresetManager(QtWidgets.QDialog):
selectedComponents[index].currentPreset = newName
saveValueStore = \
selectedComponents[index].savePreset()
+ saveValueStore['preset'] = newName
componentName = str(selectedComponents[index]).strip()
vers = selectedComponents[index].version()
self.createNewPreset(