changeset 916:9ed01a562288

CC add subterm no longer has dialog; configure it after you make it Ignore-this: fe67883ead8ea1dde5589689f5ac76f4
author drewp@bigasterisk.com
date Mon, 10 Jun 2013 19:57:42 +0000
parents 5054d49ed44e
children e7d5f008b2fa
files bin/curvecalc
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bin/curvecalc	Mon Jun 10 19:57:15 2013 +0000
+++ b/bin/curvecalc	Mon Jun 10 19:57:42 2013 +0000
@@ -161,6 +161,12 @@
         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)