aboutsummaryrefslogtreecommitdiff
path: root/src/gui/actions.py
diff options
context:
space:
mode:
authortassaron2017-08-19 20:45:44 -0400
committertassaron2017-08-19 20:45:44 -0400
commitd4b63e4d4612db262424fe10c83f8eaa4f741f24 (patch)
tree52bf54fdaaec35ebbd00a83ba98812ea1f30cc81 /src/gui/actions.py
parentc07f2426ceeada205fdacbfba66329179a74a1dc (diff)
remove % from log calls
Diffstat (limited to 'src/gui/actions.py')
-rw-r--r--src/gui/actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/actions.py b/src/gui/actions.py
index 1444569..f101bd7 100644
--- a/src/gui/actions.py
+++ b/src/gui/actions.py
@@ -3,6 +3,7 @@
'''
from PyQt5.QtWidgets import QUndoCommand
import os
+from copy import copy
from core import Core
@@ -132,7 +133,7 @@ class OpenPreset(QUndoCommand):
comp = self.parent.core.selectedComponents[compI]
self.store = comp.savePreset()
- self.store['preset'] = str(comp.currentPreset)
+ self.store['preset'] = copy(comp.currentPreset)
def redo(self):
self.parent._openPreset(self.presetName, self.compI)