The Trunk: Morphic-laza.373.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-laza.373.mcz

commits-2
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
  !