# HG changeset patch # User drewp@bigasterisk.com # Date 2013-06-10 19:57:42 # Node ID 9ed01a562288bb56c01898b425c9d36a2800c3a7 # Parent 5054d49ed44ea4fa9480c5f3190c993219fef5be CC add subterm no longer has dialog; configure it after you make it Ignore-this: fe67883ead8ea1dde5589689f5ac76f4 diff --git a/bin/curvecalc b/bin/curvecalc --- a/bin/curvecalc +++ b/bin/curvecalc @@ -161,6 +161,12 @@ class Main(object): self.graph.addHandler(self.set_subterms_from_graph) def onNewSubterm(self, *args): + self.makeSubterm("", withCurve=False) + return + + # pretty sure i don't want this back, but not completely sure + # what the UX should be to get the new curve. + dialog = self.wtree.get_object("newSubterm") # the plan is to autocomplete this on existing subterm names # (but let you make one up, too)