Changeset - 5f384443e3ed
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 13 years ago 2012-06-16 01:12:21
drewp@bigasterisk.com
CC reload discovers new subs
Ignore-this: 893b6279f3c2f9e29be95fc1ad2c3c7c
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -263,7 +263,8 @@ class Main(object):
 
            reactor.callLater(1, self.refreshCurveView)
 

	
 
    def onReloadSubs(self, *args): # wants to be ctrl-r  too
 
        dispatcher.send('reload all subs')
 
        read_all_subs(self.graph) # this will discover new subs (additive only)
 
        dispatcher.send('reload all subs') # this rereads each sub from its graph file
 
        dispatcher.send("all curves rebuild")
 

	
 

	
0 comments (0 inline, 0 general)