summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Smith <bruce@nanorex.com>2008-10-01 16:22:03 +0000
committerBruce Smith <bruce@nanorex.com>2008-10-01 16:22:03 +0000
commitf34d575754c9575db188866a1efb35acc234ca52 (patch)
tree7170a607eb3de99c484c04b8c3e4eadca46671f6
parent71d604249aea3c48d8775980bf59b623635d5adc (diff)
downloadnanoengineer-theirix-f34d575754c9575db188866a1efb35acc234ca52.tar.gz
nanoengineer-theirix-f34d575754c9575db188866a1efb35acc234ca52.zip
fix bug in Insert Plane (debugged by Ninad)
-rwxr-xr-xcad/src/widgets/prefs_widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cad/src/widgets/prefs_widgets.py b/cad/src/widgets/prefs_widgets.py
index 092ebc6bd..04498f19b 100755
--- a/cad/src/widgets/prefs_widgets.py
+++ b/cad/src/widgets/prefs_widgets.py
@@ -527,11 +527,11 @@ class _twoway_Qt_connection(object):
self.connected = False
def destroy(self):
if self.vars: #bruce 080930 make destroy twice legal and a noop
- self.vars = None # error to use self after this
if self.connected:
self.disconnect()
if self.conn1:
self.conn1.destroy()
+ self.vars = None # error to use self after this, except for destroy
return
def connect_the_other_way(self):
self.conn1 = Formula( self.usage_tracked_getter, self.careful_widget_setter, debug = self.debug )