summaryrefslogtreecommitdiff
path: root/grc/gui/MainWindow.py
diff options
context:
space:
mode:
authorJohnathan Corgan2012-09-28 10:30:00 -0700
committerJohnathan Corgan2012-09-28 10:30:00 -0700
commit9f72b877043cd6e5d8e7cee20c0e4390419a94b7 (patch)
tree6153cac52ba96f11ae756a104bbe9b7afd5a5d98 /grc/gui/MainWindow.py
parent2d2afd3b387bd3426cc30239f679d48cefe9eb93 (diff)
parent515d1b6f91f5dd28997525b1e88006bbfc0f170a (diff)
downloadgnuradio-9f72b877043cd6e5d8e7cee20c0e4390419a94b7.tar.gz
gnuradio-9f72b877043cd6e5d8e7cee20c0e4390419a94b7.tar.bz2
gnuradio-9f72b877043cd6e5d8e7cee20c0e4390419a94b7.zip
Merge branch 'master' into wip/gr-blocks-master
Diffstat (limited to 'grc/gui/MainWindow.py')
-rw-r--r--grc/gui/MainWindow.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/grc/gui/MainWindow.py b/grc/gui/MainWindow.py
index 2f761df1f..37a100c94 100644
--- a/grc/gui/MainWindow.py
+++ b/grc/gui/MainWindow.py
@@ -93,7 +93,8 @@ class MainWindow(gtk.Window):
#flow_graph_box.pack_start(self.scrolled_window)
self.flow_graph_vpaned.pack1(self.notebook)
self.hpaned.pack1(self.flow_graph_vpaned)
- self.hpaned.pack2(BlockTreeWindow(platform, self.get_flow_graph), False) #dont allow resize
+ self.btwin = BlockTreeWindow(platform, self.get_flow_graph);
+ self.hpaned.pack2(self.btwin, False) #dont allow resize
#create the reports window
self.text_display = TextDisplay()
#house the reports in a scrolled window
@@ -169,6 +170,8 @@ class MainWindow(gtk.Window):
try: #try to load from file
if file_path: Messages.send_start_load(file_path)
flow_graph = self._platform.get_new_flow_graph()
+ flow_graph.grc_file_path = file_path;
+ #print flow_graph
page = NotebookPage(
self,
flow_graph=flow_graph,