diff options
| author | tassaron | 2017-08-19 20:45:44 -0400 |
|---|---|---|
| committer | tassaron | 2017-08-19 20:45:44 -0400 |
| commit | d4b63e4d4612db262424fe10c83f8eaa4f741f24 (patch) | |
| tree | 52bf54fdaaec35ebbd00a83ba98812ea1f30cc81 /src/gui/actions.py | |
| parent | c07f2426ceeada205fdacbfba66329179a74a1dc (diff) | |
remove % from log calls
Diffstat (limited to 'src/gui/actions.py')
| -rw-r--r-- | src/gui/actions.py | 3 |
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) |
