diff options
author | Volker Schroer <3470424+dl1ksv@users.noreply.github.com> | 2021-08-07 13:23:23 +0200 |
---|---|---|
committer | Jeff Long <willcode4@gmail.com> | 2021-08-07 12:32:26 -0400 |
commit | 9d94c8a675d085082304bf96e5b30a46bbb8bb9e (patch) | |
tree | 192fffbbeb48b95d099c20209498392c0f3e7107 | |
parent | gr-uhd: fix input filename in freq hopping examples (diff) | |
download | gnuradio-9d94c8a675d085082304bf96e5b30a46bbb8bb9e.tar.xz gnuradio-9d94c8a675d085082304bf96e5b30a46bbb8bb9e.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>
(cherry picked from commit 1f1733eb4489b48fb73509e7806df19e1c738092)
Signed-off-by: Jeff Long <willcode4@gmail.com>
-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 9b21f34a7..578e0510c 100644 --- a/grc/core/FlowGraph.py +++ b/grc/core/FlowGraph.py @@ -239,7 +239,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 2c14ee3a7..a6e040e18 100644 --- a/grc/gui/Application.py +++ b/grc/gui/Application.py @@ -130,6 +130,7 @@ class Application(Gtk.Application): def flow_graph_update(fg=flow_graph): main.vars.update_gui(fg.blocks) + fg.namespace.clear() fg.update() ################################################## |