The Trunk: Morphic-eem.1721.mcz

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

The Trunk: Morphic-eem.1721.mcz

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

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

Name: Morphic-eem.1721
Author: eem
Time: 3 February 2021, 6:52:27.309661 pm
UUID: 3fa83dbf-de0f-4bb8-a461-57416e66b6cf
Ancestors: Morphic-eem.1720

And make sure that we find the right model when searching for classes in multi-window browsers.

=============== Diff against Morphic-eem.1720 ===============

Item was changed:
  ----- Method: Browser>>displayClass: (in category '*Morphic-Menus-DockingBar-accessing') -----
  displayClass: aClass
  "Assuming the receiver has answered true to isDisplayingClass:, come to the front and select the given class."
  | index |
+ index := self multiWindowIndexForClassName: aClass name.
+ index ~= 0 ifTrue:
+ [multiWindowState selectWindowIndex: index.
+ ^(multiWindowState models at: index) selectClass: aClass].
- index := self multiWindowIndexForClassName: aClass.
- index  ~= 0 ifTrue:
- [multiWindowState selectWindowIndex: index].
  self selectClass: aClass!