diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-09 14:44:22 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-10 14:41:52 +0200 |
commit | 435e2b16c903b4a9d16d40ffba649698c4ded190 (patch) | |
tree | a99691a8877b7fc911c9d4b223d26b0f3fa5921b /grc/gui/NotebookPage.py | |
parent | 6375ebf0eb2b619e1a31ec8b8babc3ad0f968dd2 (diff) |
grc-refactor: rewrite tree-api in core
Diffstat (limited to 'grc/gui/NotebookPage.py')
-rw-r--r-- | grc/gui/NotebookPage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/NotebookPage.py b/grc/gui/NotebookPage.py index 757dcbc0f8..4745035aff 100644 --- a/grc/gui/NotebookPage.py +++ b/grc/gui/NotebookPage.py @@ -49,7 +49,7 @@ class NotebookPage(Gtk.HBox): self.saved = True # import the file - initial_state = flow_graph.get_parent().parse_flow_graph(file_path) + initial_state = flow_graph.parent_platform.parse_flow_graph(file_path) flow_graph.import_data(initial_state) self.state_cache = StateCache(initial_state) @@ -97,7 +97,7 @@ class NotebookPage(Gtk.HBox): Returns: generator """ - platform = self.flow_graph.get_parent() + platform = self.flow_graph.parent_platform return platform.Generator(self.flow_graph, self.file_path) def _handle_button(self, button): |