The Inbox: Tools-ct.951.mcz

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

The Inbox: Tools-ct.951.mcz

commits-2
Christoph Thiede uploaded a new version of Tools to project The Inbox:
http://source.squeak.org/inbox/Tools-ct.951.mcz

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

Name: Tools-ct.951
Author: ct
Time: 24 February 2020, 9:03:14.754226 pm
UUID: 2fe63a7c-21bf-894a-b7d4-58b18778a496
Ancestors: Tools-mt.940

Fixes a small bug after dropping a class into a system category. Explicitly select the class to assure the correct system category is selected in the left pane.

=============== Diff against Tools-mt.940 ===============

Item was changed:
  ----- Method: Browser>>dropOnSystemCategories:at: (in category 'drag and drop') -----
  dropOnSystemCategories: aClass at: index
+
  | category |
+ aClass isBehavior ifFalse: [^ self inform: 'Can only drop classes' translated].
- (aClass isBehavior) ifFalse:[^self inform: 'Can only drop classes'].
  category := self systemCategoryList at: index.
+ self selectedEnvironment organization classify: aClass instanceSide name under: category.
- self selectedEnvironment organization classify: aClass instanceSide name  under: category.
  self changed: #systemCategoryList.
+ self setClass: aClass.
+ ^ true!
- self changed: #classList.
- ^true!