diff options
author | jblum | 2009-05-05 23:15:58 +0000 |
---|---|---|
committer | jblum | 2009-05-05 23:15:58 +0000 |
commit | ea38be33a7eeaa8f83e08417dbb660e09eb1a07d (patch) | |
tree | 4dc86aa5b0a065348573cbf40f098f21e4489409 /grc/src | |
parent | 977674398e17ee07362fe986e0573cf1be69554e (diff) | |
download | gnuradio-ea38be33a7eeaa8f83e08417dbb660e09eb1a07d.tar.gz gnuradio-ea38be33a7eeaa8f83e08417dbb660e09eb1a07d.tar.bz2 gnuradio-ea38be33a7eeaa8f83e08417dbb660e09eb1a07d.zip |
update when elems created or deleted
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10969 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/src')
-rw-r--r-- | grc/src/gui/ActionHandler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/src/gui/ActionHandler.py b/grc/src/gui/ActionHandler.py index dffba62a3..27f19cbf9 100644 --- a/grc/src/gui/ActionHandler.py +++ b/grc/src/gui/ActionHandler.py @@ -198,10 +198,12 @@ class ActionHandler: self.get_page().set_saved(False) elif state == Actions.ELEMENT_DELETE: if self.get_flow_graph().remove_selected(): + self.get_flow_graph().update() self.get_page().get_state_cache().save_new_state(self.get_flow_graph().export_data()) self.handle_states(Actions.NOTHING_SELECT) self.get_page().set_saved(False) elif state == Actions.ELEMENT_CREATE: + self.get_flow_graph().update() self.get_page().get_state_cache().save_new_state(self.get_flow_graph().export_data()) self.handle_states(Actions.NOTHING_SELECT) self.get_page().set_saved(False) |