# HG changeset patch # User ca # Date 1082458623 -7200 # Node ID 1bb281ec743715030e365c93be161e36bd66fc5e # Parent c6b3c9ee52077e222bcb35253fbd9a1d337b3731 bugfixes after merged with werner diff -r c6b3c9ee5207 -r 1bb281ec7437 DataSetBuilder.st --- 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].