From 7f93764ed17c4ad741c41d62e3acdbfd1a485d10 Mon Sep 17 00:00:00 2001 From: Seth Hitefield <sdh11@vt.edu> Date: Fri, 22 Aug 2014 16:33:52 -0400 Subject: grc: Reloading blocks forces reload for all open flow graphs. --- grc/gui/ActionHandler.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'grc/gui/ActionHandler.py') 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() -- cgit v1.2.3