diff options
author | Volker Schroer <3470424+dl1ksv@users.noreply.github.com> | 2021-08-07 13:23:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-07 07:23:23 -0400 |
commit | 1f1733eb4489b48fb73509e7806df19e1c738092 (patch) | |
tree | 16e1ab8319a5ebb972c165ac7906a8784eb1b796 /grc | |
parent | gr-uhd: fix input filename in freq hopping examples (diff) | |
download | gnuradio-1f1733eb4489b48fb73509e7806df19e1c738092.tar.xz gnuradio-1f1733eb4489b48fb73509e7806df19e1c738092.zip |
grc: fix the evaluation of interdependent variables
The gr-digital/examples/tx_ofdm.grc fails to evaluate the
header_formater variable.
This pr fixes #4937
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
Diffstat (limited to 'grc')
-rw-r--r-- | grc/core/FlowGraph.py | 1 | ||||
-rw-r--r-- | grc/gui/Application.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py index 5ef776d6b..aa9b1e4c6 100644 --- a/grc/core/FlowGraph.py +++ b/grc/core/FlowGraph.py @@ -227,7 +227,6 @@ class FlowGraph(Element): def renew_namespace(self): namespace = {} - self.namespace.clear() # Load imports for expr in self.imports(): try: diff --git a/grc/gui/Application.py b/grc/gui/Application.py index 807f2a7bd..31e28bd28 100644 --- a/grc/gui/Application.py +++ b/grc/gui/Application.py @@ -118,6 +118,7 @@ class Application(Gtk.Application): def flow_graph_update(fg=flow_graph): main.vars.update_gui(fg.blocks) + fg.namespace.clear() fg.update() ################################################## |