[squeak-dev] The Trunk: Monticello-lrnp.757.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 19 09:23:34 UTC 2022


Marcel Taeumel uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-lrnp.757.mcz

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

Name: Monticello-lrnp.757
Author: lrnp
Time: 14 January 2022, 7:20:24.398336 pm
UUID: ab83fd2d-d9ec-4257-ae99-181861139e14
Ancestors: Monticello-ct.756

refresh if repository list shortened

If the repository list was shortened behind the scenes and the UI didn't update, refresh the UI.

=============== Diff against Monticello-ct.756 ===============

Item was changed:
  ----- Method: MCWorkingCopyBrowser>>repositorySelection: (in category 'morphic ui') -----
  repositorySelection: aNumber
+ 
  	aNumber = 0
  		ifTrue: [self repository: nil]
+ 		ifFalse: [self repository: ([self repositories at: aNumber]
+ 					on: Error
+ 					do: [:e |
+ 						(e messageText startsWith: 'subscript is out of bounds')
+ 							ifFalse: [e pass]
+ 							ifTrue: [self loadRepositories. nil]])].
- 		ifFalse: [self repository: (self repositories at: aNumber)].
  	self changed: #repositorySelection.
+ 	self changedButtons.!
- 	self changedButtons.
- !



More information about the Squeak-dev mailing list