commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 03/05: grc: fix initial setting of generate


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/05: grc: fix initial setting of generate mode (issue #1089)
Date: Sat, 12 Nov 2016 14:50:47 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit 27b6192c51bd42d8dc90d3a326a1c66e18ddbb33
Author: Sebastian Koslowski <address@hidden>
Date:   Sat Nov 12 09:28:27 2016 +0100

    grc: fix initial setting of generate mode (issue #1089)
---
 grc/gui/ActionHandler.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py
index f18fcea..6e96268 100644
--- a/grc/gui/ActionHandler.py
+++ b/grc/gui/ActionHandler.py
@@ -515,8 +515,9 @@ class ActionHandler:
         elif action == Actions.FLOW_GRAPH_NEW:
             main.new_page()
             if args:
+                flow_graph = main.get_flow_graph()
                 
flow_graph._options_block.get_param('generate_options').set_value(args[0])
-                flow_graph_update()
+                flow_graph_update(flow_graph)
         elif action == Actions.FLOW_GRAPH_OPEN:
             file_paths = args if args else 
OpenFlowGraphFileDialog(page.get_file_path()).run()
             if file_paths: #open a new page for each file, show only the first



reply via email to

[Prev in Thread] Current Thread [Next in Thread]