Fix bug in modifying array dimensions in DataTypeEditor
authorLaurent Bessard
Thu, 26 Jul 2012 11:44:19 +0200
changeset 730 2c4914d941fd
parent 729 a47f641e50f0
child 731 4e30c1c0922d
Fix bug in modifying array dimensions in DataTypeEditor
DataTypeEditor.py
--- a/DataTypeEditor.py	Thu Jul 19 16:46:16 2012 +0200
+++ b/DataTypeEditor.py	Thu Jul 26 11:44:19 2012 +0200
@@ -315,7 +315,7 @@
                                             wx.gizmos.EL_ALLOW_DELETE)
         for func in ["_OnLabelEndEdit", "_OnAddButton", "_OnDelButton", 
                      "_OnUpButton", "_OnDownButton"]:
-            setattr(self.EnumeratedValues, func, self.OnDimensionsChanged)
+            setattr(self.ArrayDimensions, func, self.OnDimensionsChanged)
         array_panel_sizer.AddWindow(self.ArrayDimensions, 0, border=5, 
               flag=wx.GROW|wx.ALL)