[Pkg] The Trunk: Tools-fbs.345.mcz

commits at source.squeak.org commits at source.squeak.org
Mon May 2 14:40:47 UTC 2011


Levente Uzonyi uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-fbs.345.mcz

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

Name: Tools-fbs.345
Author: fbs
Time: 26 April 2011, 8:44:19.26 am
UUID: 52e2c842-2c27-0247-8b93-05056b5ab133
Ancestors: Tools-fbs.344

Levente Uzonyi found that deleting the last message in a MessageSet raised an error. This fixes the error by checking the list of messages: if there are no messages in the Browser (or subclass) instance, then explicitly select "no method selected".

=============== Diff against Tools-fbs.344 ===============

Item was changed:
  ----- Method: Browser>>reformulateList (in category 'message list') -----
  reformulateList
  	"If the receiver has a way of reformulating its message list, here is a chance for it to do so"
  	super reformulateList.
  	(self messageList includes: self selectedMessageName)
+ 		ifFalse: [ self messageList
+ 					ifEmpty: [ self selectMessageNamed: nil ]
+ 					ifNotEmpty: [ self selectMessageNamed: self lastMessageName ]].!
- 		ifFalse: [ self selectMessageNamed: self lastMessageName ].!



More information about the Packages mailing list