diff options
author | Chris <christopher.donohue@gmail.com> | 2019-10-03 15:11:24 -0400 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-10-19 23:30:35 +0200 |
commit | 5099fd9a492face0facfc4a8a6923d5ce76b7b31 (patch) | |
tree | f67759cc64a4630440e8ceb651addf210104ad2d | |
parent | 6d4804e6cb8c52d05620affe12c7d7b1bb7ed207 (diff) |
Save the new duplicate page to the cache so it can be loaded from the cache in the future
-rw-r--r-- | grc/gui/Application.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/gui/Application.py b/grc/gui/Application.py index 6b773f4131..a792549b37 100644 --- a/grc/gui/Application.py +++ b/grc/gui/Application.py @@ -693,6 +693,7 @@ class Application(Gtk.Application): # Import the old data and mark the current as not saved new_flow_graph.import_data(previous.export_data()) flow_graph_update(new_flow_graph) + page.state_cache.save_new_state(new_flow_graph.export_data()) page.saved = False elif action == Actions.FLOW_GRAPH_SCREEN_CAPTURE: file_path, background_transparent = FileDialogs.SaveScreenShot(main, page.file_path).run() |