[Pkg] The Trunk: Morphic-cmm.1408.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 4 04:16:19 UTC 2018

Chris Muller uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-cmm.1408
Author: cmm
Time: 3 April 2018, 11:15:51.160237 pm
UUID: 35b2e2ad-c421-4510-a635-774bfd84e597
Ancestors: Morphic-cmm.1407

The responsibility of #anyOpenWindowLikeMe, as indicated by its name, is to look in the actual World world for any open window like the receiver, not the receivers #world (which is nil, because because we wish to look in the real world first!).
	Fixes the Reuse Windows preference.

=============== Diff against Morphic-cmm.1407 ===============

Item was changed:
  ----- Method: SystemWindow>>anyOpenWindowLikeMe (in category 'open/close') -----
  	self class reuseWindows ifFalse: [ ^Array empty ].
  	^ SystemWindow
+ 		windowsIn: World 
- 		windowsIn: self world 
  			[ : each |
  			each model class = self model class
  				and: [ (each model respondsTo: #representsSameBrowseeAs:) 
  				and: [ each model representsSameBrowseeAs: self model ] ] ]

More information about the Packages mailing list