aboutsummaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authortassaron2017-08-03 20:43:23 -0400
committertassaron2017-08-03 20:43:23 -0400
commit98a47a21d986ccede574baececd179be7550c9d6 (patch)
tree0611f76014cb6e60ff3939438b5ce3162d0d7f9a /src/core.py
parentae8a547b77a618c793929701f9c1fa72d3300110 (diff)
save presets as floats so project resolution is not relevant
unfortunately this breaks old projects and presets
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index afb1e45..61905eb 100644
--- a/src/core.py
+++ b/src/core.py
@@ -161,7 +161,7 @@ class Core:
for widget, value in data['WindowFields']:
widget = eval('loader.window.%s' % widget)
widget.blockSignals(True)
- widget.setText(value)
+ toolkit.setWidgetValue(widget, value)
widget.blockSignals(False)
for key, value in data['Settings']: