diff options
Diffstat (limited to 'grc/src/gui')
-rw-r--r-- | grc/src/gui/MainWindow.py | 1 | ||||
-rw-r--r-- | grc/src/gui/NotebookPage.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/grc/src/gui/MainWindow.py b/grc/src/gui/MainWindow.py index 2106b8ea1..bd5f73a80 100644 --- a/grc/src/gui/MainWindow.py +++ b/grc/src/gui/MainWindow.py @@ -145,7 +145,6 @@ 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.handle_states = self.handle_states page = NotebookPage( self, flow_graph=flow_graph, diff --git a/grc/src/gui/NotebookPage.py b/grc/src/gui/NotebookPage.py index 0d6a4a87c..a3ec5b4e2 100644 --- a/grc/src/gui/NotebookPage.py +++ b/grc/src/gui/NotebookPage.py @@ -91,6 +91,7 @@ class NotebookPage(gtk.HBox): self.pack_start(self.scrolled_window) #inject drawing area and handle states into flow graph self.get_flow_graph().drawing_area = self.get_drawing_area() + self.get_flow_graph().handle_states = main_window.handle_states self.show_all() def get_drawing_area(self): return self.drawing_area |