summaryrefslogtreecommitdiff
path: root/grc/gui/ActionHandler.py
diff options
context:
space:
mode:
authorSeth Hitefield <sdh11@vt.edu>2014-08-22 16:33:52 -0400
committerSebastian Koslowski <koslowski@kit.edu>2014-08-26 10:10:44 +0200
commit7f93764ed17c4ad741c41d62e3acdbfd1a485d10 (patch)
treeda020915a3a3631ea2ae69256a67622c1b4ad6b4 /grc/gui/ActionHandler.py
parentdf693a90525ec4a49435ed4e3fb5cfec7643b61a (diff)
grc: Reloading blocks forces reload for all open flow graphs.
Diffstat (limited to 'grc/gui/ActionHandler.py')
-rw-r--r--grc/gui/ActionHandler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py
index dcc3c846eb..60fa07050d 100644
--- a/grc/gui/ActionHandler.py
+++ b/grc/gui/ActionHandler.py
@@ -496,6 +496,9 @@ class ActionHandler:
self.platform.load_block_tree(self.main_window.btwin)
Actions.XML_PARSER_ERRORS_DISPLAY.set_sensitive(bool(ParseXML.xml_failures))
Messages.send_xml_errors_if_any(ParseXML.xml_failures)
+ # Force a redraw of the graph, by getting the current state and re-importing it
+ self.main_window.update_pages()
+
elif action == Actions.FIND_BLOCKS:
self.main_window.btwin.show()
self.main_window.btwin.search_entry.show()