[squeak-dev] The Trunk: ToolBuilder-Morphic-ul.59.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 2 11:03:09 UTC 2010


Levente Uzonyi uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-ul.59.mcz

==================== Summary ====================

Name: ToolBuilder-Morphic-ul.59
Author: ul
Time: 2 May 2010, 12:46:58.475 pm
UUID: 8f5cbf2c-ce56-694f-a88d-5775750e6c57
Ancestors: ToolBuilder-Morphic-fbs.58

- fix: #edit:label:accept: didn't set the label

=============== Diff against ToolBuilder-Morphic-fbs.58 ===============

Item was changed:
  ----- Method: MorphicUIManager>>edit:label:accept: (in category 'ui requests') -----
  edit: aText label: labelString accept: anAction
  	"Open an editor on the given string/text"
+ 
  	| window |
  	window := Workspace open.
+ 	labelString ifNotNil: [ window setLabel: labelString ].
+ 	window model
+ 		acceptContents:  aText;
+ 		acceptAction: anAction.
- 	window model acceptContents:  aText.
- 	window model acceptAction: anAction.
  	^window.!




More information about the Squeak-dev mailing list