[squeak-dev] The Trunk: Morphic-laza.373.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 5 18:52:55 UTC 2010


Alexander Lazarević uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-laza.373.mcz

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

Name: Morphic-laza.373
Author: laza
Time: 5 March 2010, 7:51:51.533 pm
UUID: 545745ad-bd3b-2a4e-affa-364a5267382f
Ancestors: Morphic-cmm.372

Fix if user aborts path selection

=============== Diff against Morphic-cmm.372 ===============

Item was changed:
  ----- Method: TheWorldMenu>>loadProject (in category 'commands') -----
  loadProject
  
+ 	| stdFileMenuResult path |
- 	| stdFileMenuResult |
  	"Put up a Menu and let the user choose a '.project' file to load.  Create a thumbnail and jump into the project."
  
  	Project canWeLoadAProjectNow ifFalse: [^ self].
+ 	path := FileList2 modalFolderSelector.
+ 	path ifNil: [^ nil].
  	stdFileMenuResult := ((StandardFileMenu new) pattern: '*.pr'; 
+ 		oldFileFrom: path) 
- 		oldFileFrom: FileList2 modalFolderSelector) 
  			startUpWithCaption: 'Select a File:' translated.
  	stdFileMenuResult ifNil: [^ nil].
  	ProjectLoading 
  		openFromDirectory: stdFileMenuResult directory 
  		andFileName: stdFileMenuResult name
  !




More information about the Squeak-dev mailing list