The Inbox: Help-Squeak-Project-ct.118.mcz

[email protected] Mon, 3 Aug 2026 05:06:43 0000
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
A new version of Help-Squeak-Project was added to project The Inbox:
http://source.squeak.org/inbox/Help-Squeak-Project-ct.118.mcz

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

Name: Help-Squeak-Project-ct.118
Author: ct
Time: 3 August 2026, 7:06:42.594906 am
UUID: 602a7358-ca6d-495a-b242-1b84c4eb841b
Ancestors: Help-Squeak-Project-mt.117

Avoids a MNU when closing a help browser before its associated help outline tool.

=============== Diff against Help-Squeak-Project-mt.117 ===============

Item was changed:
  ----- Method: SqueakHelpOutlineTool>>outlineRoots (in category 'accessing') -----
  outlineRoots
  
  	| parentTopic topic |
  	outlineRoots ifNotNil: [^ outlineRoots].
  	
  	parentTopic := self helpBrowser currentParentTopic.
  	topic := self helpBrowser currentTopic.
  	(parentTopic isNil or: [topic isNil]) ifTrue: [^ outlineRoots := #()].
  	(parentTopic respondsTo: #outlineRootsFor:in:) ifFalse:
  		["See ReleaseBuilder class>>#openWelcomeWorkspacesWith:"
  		topic title asString asLowercase = 'What is New?' asLowercase ifTrue:
  			[parentTopic := SqueakReleaseNotes]].
  	(parentTopic respondsTo: #outlineRootsFor:in:) ifFalse: [^ outlineRoots := #()].
  	^ outlineRoots := parentTopic
  		outlineRootsFor: topic
+ 		in: (self editedTopicContents ifNil: [^ outlineRoots := #()])!
- 		in: self editedTopicContents!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]