# HG changeset patch # User drewp@bigasterisk.com # Date 2012-06-16 01:12:21 # Node ID 5f384443e3ed9a284784bf491c71f308aebcd716 # Parent 6be77a807389c2781e0cd3df9d38669e46df9d04 CC reload discovers new subs Ignore-this: 893b6279f3c2f9e29be95fc1ad2c3c7c diff --git a/bin/curvecalc b/bin/curvecalc --- a/bin/curvecalc +++ b/bin/curvecalc @@ -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")