commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10969 - gnuradio/trunk/grc/src/gui


From: jblum
Subject: [Commit-gnuradio] r10969 - gnuradio/trunk/grc/src/gui
Date: Tue, 5 May 2009 17:15:58 -0600 (MDT)

Author: jblum
Date: 2009-05-05 17:15:58 -0600 (Tue, 05 May 2009)
New Revision: 10969

Modified:
   gnuradio/trunk/grc/src/gui/ActionHandler.py
Log:
update when elems created or deleted

Modified: gnuradio/trunk/grc/src/gui/ActionHandler.py
===================================================================
--- gnuradio/trunk/grc/src/gui/ActionHandler.py 2009-05-05 22:40:48 UTC (rev 
10968)
+++ gnuradio/trunk/grc/src/gui/ActionHandler.py 2009-05-05 23:15:58 UTC (rev 
10969)
@@ -198,10 +198,12 @@
                                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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]