aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authortassaron2017-05-30 22:05:56 -0400
committertassaron2017-05-30 22:05:56 -0400
commit5295a6d9ae3d73c7dceb286f13c6a1429e55393c (patch)
treeda62d3717a40689269f19375274d28d87619137e /main.py
parentca7e8bdb0dc998088aeb45a77987a78cc4656b34 (diff)
presets are working
except for font because it can't be represented as a string
Diffstat (limited to 'main.py')
-rw-r--r--main.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.py b/main.py
index 77b56c3..2dbefe7 100644
--- a/main.py
+++ b/main.py
@@ -400,9 +400,8 @@ class Main(QtCore.QObject):
for line in f:
saveValueStore = eval(line.strip())
break
- print(saveValueStore)
-
-
+ self.selectedComponents[index].loadPreset(saveValueStore)
+ self.drawPreview()
def LoadDefaultSettings(self):
self.resolutions = [