DataSetBuilder.st
changeset 1836 1bb281ec7437
parent 1825 58bcec422efd
child 1841 fb363ce089de
--- a/DataSetBuilder.st	Thu Apr 15 10:39:51 2004 +0200
+++ b/DataSetBuilder.st	Tue Apr 20 12:57:03 2004 +0200
@@ -2163,6 +2163,12 @@
 
 !
 
+menuEdit
+    "redefined to access my menu and not of the UIPainter
+    "
+    ^ self class menuEdit
+!
+
 rendererTypeList
     "generate list of supported renderer types"
 
@@ -2705,12 +2711,14 @@
 updateInputFields
     "reloads item value into input fields"
 
-    |column|
+    |column notifyValue|
 
     (column := self selectedColumn) isNil ifTrue:[
         self tabModel value:0.
     ] ifFalse:[
-        aspects do:[:anAspect| anAspect value:'' ].
+        notifyValue := nil.     "/ old: '' -> problems with Toggles (asBoolean)
+
+        aspects do:[:anAspect| anAspect value:notifyValue ].
         aspects keysAndValuesDo:[:aKey :aModel |
             aModel value:(column perform:aKey) withoutNotifying: self
         ].
@@ -2718,7 +2726,7 @@
 "/ REPALCE nil by empty string for specific inputFields without an adapter
         #( #labelActionArgument #formatString #id ) do:[:aKey| |model|
             model := aspects at:aKey.
-            model value isNil ifTrue:[model value:'' withoutNotifying: self]
+            model value isNil ifTrue:[model value:notifyValue withoutNotifying: self]
         ].
 
         tabSelection == 0 ifTrue:[self tabModel value:1].