aboutsummaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authortassaron2017-06-25 15:31:42 -0400
committertassaron2017-06-25 15:31:42 -0400
commit6a1a5cd6eb931f5f9316f89c680ca318f845a746 (patch)
tree6c316075b3b494e7ae5756896b590f308131f19e /src/core.py
parent675a06dd4c10babb3ef2553f6c7cdd92b5f5ef0a (diff)
--export commandline option
overrides -i and -o to use saved fields from a project file
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index d7e8219..a435c2c 100644
--- a/src/core.py
+++ b/src/core.py
@@ -183,7 +183,9 @@ class Core():
for pair in data['WindowFields']:
widget, value = pair.split('=', 1)
widget = eval('loader.window.%s' % widget)
+ widget.blockSignals(True)
widget.setText(value.strip())
+ widget.blockSignals(False)
for pair in data['Settings']:
key, value = pair.split('=', 1)