diff bin/curvecalc @ 972:92bffc402b52

bring back the ability to redraw canvases, since they still get mangled coords sometimes Ignore-this: 47f204ec83dab79265091c9fae2c4860
author drewp@bigasterisk.com
date Sat, 15 Jun 2013 21:24:15 +0000
parents 16c771461cde
children 892a6ff719cf
line wrap: on
line diff
--- a/bin/curvecalc	Sat Jun 15 20:25:14 2013 +0000
+++ b/bin/curvecalc	Sat Jun 15 21:24:15 2013 +0000
@@ -178,6 +178,9 @@
         if dialog.run() == 1:
             self.curveset.new_curve(entry.get_text())
         dialog.hide()
+
+    def onRedrawCurves(self, *args):
+        dispatcher.send("all curves rebuild")
         
     def onSubtermsMap(self, *args):
         # if this was called too soon, like in __init__, the gtktable