The Trunk: ToolBuilder-Kernel-eem.112.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

The Trunk: ToolBuilder-Kernel-eem.112.mcz

commits-2
Eliot Miranda uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-eem.112.mcz

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

Name: ToolBuilder-Kernel-eem.112
Author: eem
Time: 11 August 2017, 10:30:08.686663 am
UUID: b38646b5-66a2-44ad-a70e-145a77054677
Ancestors: ToolBuilder-Kernel-nice.111

chooseFromOrAddTo:lines:title: should use self, not UIManager default, since self is already a UIManager.

=============== Diff against ToolBuilder-Kernel-nice.111 ===============

Item was changed:
  ----- Method: UIManager>>chooseFromOrAddTo:lines:title: (in category 'ui requests') -----
  chooseFromOrAddTo: aList lines: linesArray title: aString
-
  | index |
+ index := self chooseFrom: {'new...'}, aList lines: linesArray title: aString.
- index := (UIManager default chooseFrom: {'new...'}, aList lines: linesArray title: aString).
  index = 0 ifTrue: [^ nil].
 
+ index = 1 ifTrue:
+ [^ self request: 'Please type new value' initialAnswer: ''].
- index = 1 ifTrue: [
- ^ self request: 'Please type new value' initialAnswer: ''].
 
  ^ aList at: index - 1!


Loading...